[Haskell-beginners] Something like pydoc?

David McBride toad3k at gmail.com
Thu Mar 26 13:44:19 UTC 2015


There is a hoogle command: https://hackage.haskell.org/package/hoogle.

I don't use it, but I imagine you would have to set documention: True in
cabal.config, so you get documentation for any packages you have, and then
either use your browser, or put an alias in your .ghci to query it in your
repl, or just use the executable.

On Thu, Mar 26, 2015 at 9:36 AM, Mike Meyer <mwm at mired.org> wrote:

> Python had the "pydoc" command, which would could be used to print a
> module's docstings from the command line, and provided the "help" function
> in the REPL. Clojure has "doc" in the REPL, at least if you told it where
> the sources were.
>
> I can't seem to find anything like that for Haskell - either at the
> command line or in ghci. Does such exist? Is such possible?
>
> Thanks,
> <mike
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150326/dfc040ff/attachment-0001.html>


More information about the Beginners mailing list