on master help sign in
Fix a typo in the tutorial.
commitacc98c5cf3dde51174715f423095328bbeab8f85 authorMatus Tejiscak <ziman@functor.sk> dateFri 9 Aug 2013, 08:18 (13 years ago) parentdd12ac4
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}