git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Update patterns.rst
0fd16c3Phil Freeman
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::
81 sum [] = 0
81 sum [] = 0
82 sum (x : xs) = x + sum xs
82 sum (x : xs) = x + sum xs
83
83
84−`:` associates to the right::
84+``:`` associates to the right::
85
85
86 addPairs (x : y : xs) = x * y + addPairs xs
86 addPairs (x : y : xs) = x * y + addPairs xs
87 addPairs _ = 0
87 addPairs _ = 0