Tutorial for literate Haskell

Steffen Mazanek Steffen.Mazanek@UniBw-Muenchen.de
03 Mar 2003 16:20:56 +0000


Hello.

I do Literate Programming this way:
At first I define a Latex environment "code" as "verbatim"
e.g. so: \newenvironment{code}{\footnotesize\verbatim}{\endverbatim\normalsize}
This environment is understood by the Haskell compilers.
All my modules are own documents concluded in the main tex-file with
\input{...}.
Alternatively I sometimes use lambdaTeX which typesets the code
really nice (problem: latex2html doesn't understand it).

Hope that will help.
Ciao,
Steffen