Basic completion in GHCi
authorSimon Marlow <simonmar@microsoft.com>
Mon, 6 Feb 2006 12:26:54 +0000 (12:26 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Mon, 6 Feb 2006 12:26:54 +0000 (12:26 +0000)
commit315a1f6c671b9800909752c702bda347198dd60a
tree66b81e99e0f9ae7e095aca52c64301cf2138f711
parent594aa4967f05341c5a2417881e0abd068ab34e9a
Basic completion in GHCi

This patch adds completion support to GHCi when readline is being
used.  Completion of identifiers (in scope only, but including
qualified identifiers) in expressions is provided.  Also, completion
of commands (:cmd), and special completion for certain commands
(eg. module names for the :module command) are also provided.
ghc/compiler/ghci/InteractiveUI.hs
ghc/compiler/main/GHC.hs