Update patterns.rst
commit0fd16c3f7195810f3ac298dba3460afa895a3528
authorPhil Freeman <paf31@cantab.net>
dateSun 6 Apr 2014, 20:38 (13 years ago)
parent4b05d2e
docs/source/patterns.rst+1−1
@@ -81,7 +81,7 @@ The head and tail of a non-empty array can be matched by using a cons pattern::
8181 sum [] = 0
8282 sum (x : xs) = x + sum xs
8383
84−`:` associates to the right::
84+``:`` associates to the right::
8585
8686 addPairs (x : y : xs) = x * y + addPairs xs
8787 addPairs _ = 0