#2531: Prune duplicates in ghci history
---------------------------------+------------------------------------------
    Reporter:  venkat            |        Owner:              
        Type:  feature request   |       Status:  new         
    Priority:  low               |    Milestone:  7.0.1       
   Component:  GHCi              |      Version:  6.8.3       
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:  Unknown     
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------
Changes (by vivian):

 * cc: haskell.vivian.mcph...@… (added)
  * failure:  => None/Unknown


Comment:

 You can add the following line to your `.haskeline` file:
 {{{
 > historyDuplicates IgnoreConsecutive
 }}}
 or `AlwaysAdd` or `IgnoreAll`.

 Right now the haskeline library reads all its preferences upon startup.
 The `Prefs` are in a `ReaderT` and so were presumably not designed to be
 updated during execution.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2531#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to