Skip to content

Remove module from context completion

I propose to suggest in completion only modules the user already loaded into the context. The completion should look like this

Prelude Data.List> :m -
Data.List  Prelude

instead of this

Prelude Data.List> :m -
Display all 728 possibilities? (y or n)

I have already written a patch, but it requires addition of one function into haskeline library. Actually, this function can be put into ghci, but it fits more naturally in haskeline. I have created a ticket in haskeline trac http://trac.haskell.org/haskeline/ticket/109

Trac metadata
Trac field Value
Version 6.13
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information