
On Sun, 17 May 2015 01:18:50 +0200, Peng Yu
Many other languages have help pages in the command (see help() in python and R). Why haskell doesn't have such a feature?
GHCi has such a command: :doc <function name> For example: Prelude> :doc head Prelude head :: [a] -> a Extract the first element of a list, which must be non-empty. From package base head :: [a] -> a Regards, Henk-Jan van Tuyl -- Folding@home What if you could share your unused computer power to help find a cure? In just 5 minutes you can join the world's biggest networked computer and get us closer sooner. Watch the video. http://folding.stanford.edu/ http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html Haskell programming --