1\documentstyle{article}
2
3\begin{document}
4
5\section{Introduction}
6
7This is a trivial program that prints the first 20 factorials.
8
9\begin{code}
10main :: IO ()
11main = print [ (n, product [1..n]) | n <- [1..20]]
12\end{code}
13
14\end{document}
15
16