Man/dir/help pages for haskell?

Hello, I've been learning Haskell by working through the O'Reilly book, but a lot of the coding I do is offline. One thing that's been really helpful in other languages are the terminal instructions and detail for functions. Is there something similar for Haskell? I know I can type :help at the prompt but that only gives you info on the broad commands. Thanks for your help, Kevin

On 17/08/10 05:01, Kevin Burke wrote:
Hello, I've been learning Haskell by working through the O'Reilly book, but a lot of the coding I do is offline. One thing that's been really helpful in other languages are the terminal instructions and detail for functions. Is there something similar for Haskell? I know I can type :help at the prompt but that only gives you info on the broad commands.
I would suggest installing the haddock documentation for all packages/modules you use. Depending on your system that may already be the case (e.g. Arch), or you may have to install separate document packages (e.g. Debian). If you install manually, using 'cabal', then there really ought to be some way of also compiling the docs and installing them. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe

On Tuesday 17 August 2010 07:39:15, Magnus Therning wrote:
On 17/08/10 05:01, Kevin Burke wrote:
Hello, I've been learning Haskell by working through the O'Reilly book, but a lot of the coding I do is offline. One thing that's been really helpful in other languages are the terminal instructions and detail for functions. Is there something similar for Haskell? I know I can type :help at the prompt but that only gives you info on the broad commands.
I would suggest installing the haddock documentation for all packages/modules you use. Depending on your system that may already be the case (e.g. Arch), or you may have to install separate document packages (e.g. Debian). If you install manually, using 'cabal', then there really ought to be some way of also compiling the docs and installing them.
Set documentation: True in ~/.cabal/config to automatically build local docs for each installed package. Also it might be a good idea to set library-profiling: True there.

Is there some way of retroactively doing this for packages that are already
cabal installed?
-deech
On Tue, Aug 17, 2010 at 5:40 AM, Daniel Fischer
On Tuesday 17 August 2010 07:39:15, Magnus Therning wrote:
On 17/08/10 05:01, Kevin Burke wrote:
Hello, I've been learning Haskell by working through the O'Reilly book, but a lot of the coding I do is offline. One thing that's been really helpful in other languages are the terminal instructions and detail for functions. Is there something similar for Haskell? I know I can type :help at the prompt but that only gives you info on the broad commands.
I would suggest installing the haddock documentation for all packages/modules you use. Depending on your system that may already be the case (e.g. Arch), or you may have to install separate document packages (e.g. Debian). If you install manually, using 'cabal', then there really ought to be some way of also compiling the docs and installing them.
Set
documentation: True
in ~/.cabal/config
to automatically build local docs for each installed package. Also it might be a good idea to set
library-profiling: True
there.
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
participants (4)
-
aditya siram
-
Daniel Fischer
-
Kevin Burke
-
Magnus Therning