mirror of
https://github.com/unisonweb/unison.git
synced 2024-10-26 11:07:48 +03:00
6 lines
144 B
Plaintext
6 lines
144 B
Plaintext
structural ability Either a b where
|
|
left : a -> {Either a b} ()
|
|
right : b -> {Either a b} ()
|
|
|
|
structural type Either a b = Left a | Right b
|