diff --git a/tutorial/typesfuns.tex b/tutorial/typesfuns.tex index dd92c1be7d..cd45b2d8d7 100644 --- a/tutorial/typesfuns.tex +++ b/tutorial/typesfuns.tex @@ -1026,7 +1026,7 @@ \subsubsection*{List comprehensions} The \texttt{[a..b]} notation is another shorthand which builds a list of numbers between \texttt{a} and \texttt{b}. Alternatively \texttt{[a,b..c]} builds a list of numbers between \texttt{a} and \texttt{c} with the increment -specified by the difference between \texttt{a} and \texttt{c}. This works for +specified by the difference between \texttt{a} and \texttt{b}. This works for any numeric type, using the \texttt{count} function from the prelude. \subsubsection*{\texttt{case} expressions}