mirror of
https://github.com/unisonweb/unison.git
synced 2024-08-15 13:30:27 +03:00
422 B
422 B
Type modifiers are optional, unique
is the default.
scratch/main> builtins.merge
Types and abilities may be prefixed with either unique
or structural
. When left unspecified, unique
is assumed.
type Abc = Abc
unique type Def = Def
structural type Ghi = Ghi
ability MyAbility where const : a
unique ability MyAbilityU where const : a
structural ability MyAbilityS where const : a