mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 02:25:39 +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