mirror of
https://github.com/unisonweb/unison.git
synced 2024-08-15 13:30:27 +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