[GHC] #4249: Remove module from context completion

GHC cvs-ghc at haskell.org
Wed Aug 11 04:02:11 EDT 2010


#4249: Remove module from context completion
---------------------------------+------------------------------------------
    Reporter:  boris             |       Owner:                   
        Type:  feature request   |      Status:  new              
    Priority:  normal            |   Component:  GHCi             
     Version:  6.13              |    Keywords:  completion module
    Testcase:                    |   Blockedby:                   
          Os:  Unknown/Multiple  |    Blocking:                   
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown     
---------------------------------+------------------------------------------
 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

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4249>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list