mirror of
https://github.com/unisonweb/unison.git
synced 2024-11-04 01:03:36 +03:00
605 B
605 B
structural type M a = N | J a
d = {{
{{ docExample 0 '(x -> J x) }}
{J}
}}
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`:
structural type M a
(also named builtin.Optional)
d : Doc2
scratch/main> add
⍟ I've added these definitions:
structural type M a
(also named builtin.Optional)
d : Doc2
scratch/main> display d
`x -> J x`
J