@@ -25,7 +25,7 @@ list of imports and a collection of definitions and declarations, for example:
2525
2626\begin{SaveVerbatim}{constprims}
2727
28−module main
28+module Main
2929
3030x : Int
3131x = 42
@@ -47,7 +47,7 @@ undecidable for languages with
4747dependent types.
4848
4949A module declaration also opens a \remph{namespace}. The fully qualified names
50−declared in this module are \texttt{main.x} and \texttt{main.main}.
50+declared in this module are \texttt{Main.x} and \texttt{Main.main}.
5151
5252
5353\subsection{Types and Functions}
@@ -66,8 +66,7 @@ data List a = Nil | (::) a (List a) -- Polymorphic lists
6666\useverb{natlist}
6767
6868\noindent
69−The above declarations are taken from the standard library. Unary natural
70−numbers can be either zero, or
69+Unary natural numbers can be either zero, or
7170the successor of another natural number (\texttt{S k}).
7271Lists can either be empty (\texttt{Nil})
7372or a value added to the front of another list (\texttt{x :: xs}).
@@ -166,7 +165,7 @@ reverse xs = revAcc [] xs where
166165Indentation is significant --- functions in the \texttt{where} block must be indented
167166further than the outer function.
168167
169−\textbf{Scope:}
168+\textbf{Remark (scope):}
170169Any names which are visible in the outer scope are also visible in the \texttt{where}
171170clause (unless they have been redefined, such as \texttt{xs} here).
172171\emph{However}, names which appear in the type are \emph{not} automatically