[Haskell-beginners] How to check the help page of a function?

Brandon Allbery allbery.b at gmail.com
Sat May 16 23:30:30 UTC 2015


On Sat, May 16, 2015 at 7:18 PM, Peng Yu <pengyu.ut at gmail.com> wrote:

> Many other languages have help pages in the command (see help() in
> python and R). Why haskell doesn't have such a feature?
>

Because Haskell doesn't predate the web? :p

You can build local documentation and access it from ghci with some hooks
(see https://wiki.haskell.org/Ghci#Package_and_documentation_lookup
although it's a bit outdated), but Haskell is not a dynamic language and
ghci is not trying to be its primary developer interface. And you can't
exactly hyperlink on a terminal.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150516/c2a980c7/attachment.html>


More information about the Beginners mailing list