mirror of
https://github.com/unisonweb/unison.git
synced 2024-10-26 11:07:48 +03:00
269 B
269 B
scratch/main> builtins.merge lib.builtin
unique type Foo = Bar Nat
incrFoo : Foo -> Foo
incrFoo = cases Bar n -> Bar (n+1)
scratch/main> add
unique type Foo = Bar Nat Nat
scratch/main> update