unison/unison-src/transcripts/fix3634.output.md

44 lines
608 B
Markdown
Raw Permalink Normal View History

``` unison
2022-11-23 00:00:54 +03:00
structural type M a = N | J a
d = {{
{{ docExample 0 '(x -> J x) }}
{J}
}}
```
``` ucm
2022-11-23 00:00:54 +03:00
Loading changes detected in scratch.u.
2022-11-23 00:00:54 +03:00
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
```
``` ucm
scratch/main> add
2022-11-23 00:00:54 +03:00
⍟ I've added these definitions:
structural type M a
(also named builtin.Optional)
d : Doc2
scratch/main> display d
2022-11-23 00:00:54 +03:00
`x -> J x`
J
```