[Haskell-cafe]
http://www.haskell.org/ghc/docs/latest/html/libraries/Cabal/Distribution-Simple.html
Gwern Branwen
gwern0 at gmail.com
Thu Nov 6 08:41:23 EST 2008
On Thu, Nov 6, 2008 at 7:59 AM, Mauricio <briqueabraque at yahoo.com> wrote:
> 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
You can try the :browse command.
--
gwern
More information about the Haskell-Cafe
mailing list