2019-10-07 22:55:01 +03:00
|
|
|
See [this ticket](https://github.com/unisonweb/unison/issues/849).
|
|
|
|
|
2024-07-10 17:46:18 +03:00
|
|
|
``` unison
|
2019-10-07 22:55:01 +03:00
|
|
|
x = 42
|
|
|
|
|
|
|
|
> x
|
|
|
|
```
|
|
|
|
|
2024-07-10 19:17:15 +03:00
|
|
|
``` ucm
|
2019-10-07 22:55:01 +03:00
|
|
|
|
2023-12-22 14:55:24 +03:00
|
|
|
Loading changes detected in scratch.u.
|
|
|
|
|
2019-10-07 22:55:01 +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`:
|
|
|
|
|
2019-11-14 00:57:51 +03:00
|
|
|
x : Nat
|
2020-04-08 21:25:19 +03:00
|
|
|
|
2019-10-07 22:55:01 +03:00
|
|
|
Now evaluating any watch expressions (lines starting with
|
|
|
|
`>`)... Ctrl+C cancels.
|
|
|
|
|
|
|
|
3 | > x
|
|
|
|
⧩
|
|
|
|
42
|
|
|
|
|
|
|
|
```
|