on master help sign in
Merge pull request #448 from ziman/tutorial-typo
39e4241Edwin Brady
tutorial/typesfuns.tex+1−1
@@ -1026,7 +1026,7 @@ pythag n = [ (x, y, z) | z <- [1..n], y <- [1..z], x <- [1..y],
1026The \texttt{[a..b]} notation is another shorthand which builds a list of
1026The \texttt{[a..b]} notation is another shorthand which builds a list of
1027numbers between \texttt{a} and \texttt{b}. Alternatively \texttt{[a,b..c]}
1027numbers between \texttt{a} and \texttt{b}. Alternatively \texttt{[a,b..c]}
1028builds a list of numbers between \texttt{a} and \texttt{c} with the increment
1028builds a list of numbers between \texttt{a} and \texttt{c} with the increment
1029−specified by the difference between \texttt{a} and \texttt{c}. This works for
1029+specified by the difference between \texttt{a} and \texttt{b}. This works for
1030any numeric type, using the \texttt{count} function from the prelude.
1030any numeric type, using the \texttt{count} function from the prelude.
1031
1031
1032\subsubsection*{\texttt{case} expressions}
1032\subsubsection*{\texttt{case} expressions}