on master help sign in
Merge pull request #448 from ziman/tutorial-typo

Fix a typo in the tutorial

commit39e424157e2addccbf756e6f9f0b5062b59a00a7 authorEdwin Brady <edwin.brady@gmail.com> dateMon 12 Aug 2013, 15:01 (13 years ago) parentc182c92acc98c5
1 file changed+1−1
tutorial/typesfuns.tex+1−1
tutorial/typesfuns.tex+1−1
@@ -1026,7 +1026,7 @@ pythag n = [ (x, y, z) | z <- [1..n], y <- [1..z], x <- [1..y],
10261026The \texttt{[a..b]} notation is another shorthand which builds a list of
10271027numbers between \texttt{a} and \texttt{b}. Alternatively \texttt{[a,b..c]}
10281028builds 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
10301030any numeric type, using the \texttt{count} function from the prelude.
10311031
10321032\subsubsection*{\texttt{case} expressions}