<div dir="ltr"><div>There is a hoogle command: <a href="https://hackage.haskell.org/package/hoogle">https://hackage.haskell.org/package/hoogle</a>.<br><br>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.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 26, 2015 at 9:36 AM, Mike Meyer <span dir="ltr"><<a href="mailto:mwm@mired.org" target="_blank">mwm@mired.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.<div><br></div><div>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?</div><div><br></div><div>Thanks,</div><div><mike</div><div><br></div></div>
<br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div>