Hello,
I've been wondering if there have been attempts to provide some
library/API or similiar facility (other than pointing your web-browser
to the static Haddock HTML report) for looking up Haddock comments
associated with Haskell symbols?
As an obvious application: When coding in dynamic langu
> I've been wondering if there have been attempts to provide some
> library/API or similiar facility (other than pointing your web-browser
> to the static Haddock HTML report) for looking up Haddock comments
> associated with Haskell symbols?
>
> As an obvious application: When coding in dynamic l
Simon Hengel writes:
[...]
> I have the following in my .ghci:
>
> -- hoogle integration
> :def hoogle \q -> return $ ":! hoogle --color=true --count=15 \"" ++ q
> ++ "\""
> :def doc\q -> return $ ":! hoogle --color=true --info \"" ++ q
> ++ "\""
[...]
thanks, this al
On 04/08/2012 08:33, Herbert Valerio Riedel wrote:
Simon Hengel writes:
[...]
I have the following in my .ghci:
-- hoogle integration
:def hoogle \q -> return $ ":! hoogle --color=true --count=15 \"" ++ q ++
"\""
:def doc\q -> return $ ":! hoogle --color=true --info
> >I guess both items could be improved upon by extending GHCi to provide
> >an additional `:def` facility tailored to Haskell symbols allowing to
> >pass more meta-information (such as package and module information) into
> >the resulting command string... would something like that have any
> >cha