[Haskell-beginners] Man/dir/help pages for haskell?

Daniel Fischer daniel.is.fischer at web.de
Tue Aug 17 06:40:38 EDT 2010


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.



More information about the Beginners mailing list