git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Fix record typo in types.rst
36530bbBrian McKenna
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
141
141
142For example::
142For example::
143
143
144− type Foo = { foo :: Number, bar Number }
144+ type Foo = { foo :: Number, bar :: Number }
145
145
146 addFoo :: Foo -> Number
146 addFoo :: Foo -> Number
147 addFoo = \o -> o.foo + o.bar
147 addFoo = \o -> o.foo + o.bar