[Haskell-cafe] Useful IDE features - Whatabautautomaticallyadding import statements?

Claus Reinke claus.reinke at talk21.com
Sun Jun 17 18:47:02 EDT 2007


>> I'd like to have some features, such as _T ..
>> But this only works if the file can be parsed by ghc, right?
> 
> yes. both '_t' and '_T' simply use ghci's :t (:s is also available via '_si').

actually, that was only in early versions. these days, GHC.vim
lists the imports, uses 'ghc -e :browse ..' on each import, and
caches the results in a dictionary, which is used both for one
of the completions, and for '_t'/'_T'.

claus



More information about the Haskell-Cafe mailing list