Fix record typo in types.rst
commit36530bb90c3d6dfaa8bdda0e06ce5fc8624e0617
authorBrian McKenna <brian@brianmckenna.org>
dateTue 11 Mar 2014, 10:32 (13 years ago)
parentf4d176c
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