mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 02:25:39 +03:00
This is for consistency with the `cmark` style. Now the blocks we still pretty-print ourselves will match the bulk of them that `cmark` produces.
797 B
797 B
Type modifiers are optional, unique
is the default.
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
Loading changes detected in scratch.u.
I found and typechecked these definitions in scratch.u. If you
do an `add` or `update`, here's how your codebase would
change:
⍟ These new definitions are ok to `add`:
type Abc
type Def
structural type Ghi
(also named builtin.Unit)
ability MyAbility
structural ability MyAbilityS
ability MyAbilityU