mirror of
https://github.com/unisonweb/unison.git
synced 2024-08-15 13:30:27 +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.
744 B
744 B
test-ls/main> builtins.merge
Done.
foo.bar.add x y = x Int.+ y
foo.bar.subtract x y = x Int.- y
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`:
foo.bar.add : Int -> Int -> Int
foo.bar.subtract : Int -> Int -> Int
test-ls/main> add
⍟ I've added these definitions:
foo.bar.add : Int -> Int -> Int
foo.bar.subtract : Int -> Int -> Int
test-ls/main> ls foo
1. bar/ (2 terms)
test-ls/main> ls 1
1. add (Int -> Int -> Int)
2. subtract (Int -> Int -> Int)