mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-23 16:28:02 +03:00
906 B
906 B
See this ticket; the point being, this shouldn't crash the runtime. :)
(-) = builtin.Nat.sub
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`:
- : Nat -> Nat -> Int
Now evaluating any watch expressions (lines starting with
`>`)... Ctrl+C cancels.
.> add
⍟ I've added these definitions:
- : Nat -> Nat -> Int
baz x = x - 1
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`:
baz : Nat -> Int
Now evaluating any watch expressions (lines starting with
`>`)... Ctrl+C cancels.