mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 02:25:39 +03:00
355 B
355 B
scratch/main> builtins.merge lib.builtin
unique type Foo = Bar Nat
makeFoo : Nat -> Foo
makeFoo n = Bar (n+10)
scratch/main> add
unique type Foo = internal.Bar Nat
Foo.Bar : Nat -> Foo
Foo.Bar n = internal.Bar n
scratch/main> update
scratch/main> view Foo
scratch/main> find.verbose