mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-17 13:27:30 +03:00
334 B
334 B
scratch/main> builtins.merge
Some basics:
unique type Cat.Dog = Mouse Nat
unique type Rat.Dog = Bird
countCat = cases
Cat.Dog.Mouse x -> Bird
scratch/main> add
Now I want to add a constructor.
unique type Rat.Dog = Bird | Mouse
scratch/main> update