mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 10:35:57 +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.
509 B
509 B
structural type Foo = MkFoo Nat
main : () -> Foo
main _ = MkFoo 5
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 Foo
main : 'Foo
foo/main> add
⍟ I've added these definitions:
structural type Foo
main : 'Foo
foo/main> run main
MkFoo 5