mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-19 14:29:27 +03:00
f38523b367
fixes #4424
577 B
577 B
Some basics:
unique type Cat.Dog = Mouse Nat
unique type Rat.Dog = Bird
countCat = cases
Cat.Dog.Mouse x -> Bird
.> add
⍟ I've added these definitions:
unique type Cat.Dog
unique type Rat.Dog
countCat : Cat.Dog -> Rat.Dog
Now I want to add a constructor.
unique type Rat.Dog = Bird | Mouse
.> update
Okay, I'm searching the branch for code that needs to be
updated...
That's done. Now I'm making sure everything typechecks...
Everything typechecks, so I'm saving the results...
Done.