[Haskell-cafe]
http://www.haskell.org/ghc/docs/latest/html/libraries/Cabal/Distribution-Simple.html
Mauricio
briqueabraque at yahoo.com
Thu Nov 6 07:59:59 EST 2008
Hi,
According to this page:
http://www.haskell.org/ghc/docs/latest/html/libraries/Cabal/Distribution-Simple.html
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
More information about the Haskell-Cafe
mailing list