
21 Mar
2002
21 Mar
'02
2:16 a.m.
Keith Wansbrough
Use
\begin{code} fac 0 = 0 fac (n+1) = (n+1) * fac n \end{code}
and then define the `code' environment to do verbatim typesetting.
...or just download one of the available LaTeX styles for lhs, and get a bit of visual sugaring for free. See http://haskell.org/libraries/#tex -kzm -- If I haven't seen further, it is by standing in the footprints of giants