Merge pull request #278 from puffnfresh/patch-2
Fix record typo in types.rst
commit8f888f3a8003961bdacfa9db332702579d6d3331
authorPhil Freeman <paf31@cantab.net>
dateTue 11 Mar 2014, 09:33 (13 years ago)
parentf4d176c36530bb
docs/source/types.rst+1−1
@@ -141,7 +141,7 @@ For convenience, it is possible to declare a synonym for a type using the ``type
141141
142142For example::
143143
144− type Foo = { foo :: Number, bar Number }
144+ type Foo = { foo :: Number, bar :: Number }
145145
146146 addFoo :: Foo -> Number
147147 addFoo = \o -> o.foo + o.bar