1 \documentstyle{article}
7 Example taken from http://www.haskell.org/onlinereport/literate.html,
8 with additional tripping characters.
10 This is a trivial \begin{code}program\end{code} that prints the first 20 factorials.
14 main = print [ (n, product [1..n]) | n <- [1..20]]