mirror of
https://github.com/unisonweb/unison.git
synced 2024-08-15 13:30:27 +03:00
290 B
290 B
scratch/main> builtins.merge lib.builtin
unique type Foo
= Bar Nat
| Baz Nat Nat
foo : Foo -> Nat
foo = cases
Bar n -> n
Baz n m -> n + m
scratch/main> add
unique type Foo
= Bar Nat
scratch/main> update