mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-17 13:27:30 +03:00
687 B
687 B
id x = x
id2 x =
z = 384849
id x
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`:
id : x -> x
id2 : x -> x
scratch/main> add
⍟ I've added these definitions:
id : x -> x
id2 : x -> x
> id2 "hi"
Loading changes detected in scratch.u.
✅
scratch.u changed.
Now evaluating any watch expressions (lines starting with
`>`)... Ctrl+C cancels.
1 | > id2 "hi"
⧩
"hi"