@@ -222,6 +222,19 @@ test = poly (\n -> n + 1)
223since the skolemized type variable `a` does not unify with `Number`.
223since the skolemized type variable `a` does not unify with `Number`.
227+For convenience, it is possible to declare a synonym for a type using the `type` keyword. Type synonyms can include type arguments.
232+type Foo = { foo :: Number, bar Number }
234+addFoo :: Foo -> Number
235+addFoo = \o -> o.foo + o.bar
225## Type Inference
238## Type Inference
227All types can be inferred, but annotations can optionally be provided.
240All types can be inferred, but annotations can optionally be provided.