
On Thu, Nov 6, 2008 at 7:59 AM, Mauricio
Hi,
According to this page:
http://www.haskell.org/ghc/docs/latest/html/libraries/Cabal/Distribution-Sim...
there's an available toplevel declaration named:
autoconfUserHooks
in Distribution.Simple. However:
ghci --version The Glorious Glasgow Haskell Compilation System, version 6.8.2
ghci Prelude> :m +Distribution.Simple Prelude Distribution.Simple> :t autoconfUserHooks <interactive>:1:0: Not in scope: `autoconfUserHooks'
What would the experienced Haskell programmer do in such situation? Is there some way to ask ghci (or ghc) to list all available declarations, in a way that I could '| grep' it or save it to a file? Can I ask ghci to look for a declaration inside all available modules in all available packages?
Thanks, MaurĂcio
You can try the :browse command. -- gwern