mirror of
https://github.com/unisonweb/unison.git
synced 2024-11-12 04:34:38 +03:00
643 B
643 B
id x = x
id2 x =
z = 384849
id x
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
☝️ The namespace .scratch is empty.
.scratch> add
⍟ I've added these definitions:
id : x -> x
id2 : x -> x
> id2 "hi"
✅
scratch.u changed.
Now evaluating any watch expressions (lines starting with
`>`)... Ctrl+C cancels.
1 | > id2 "hi"
⧩
"hi"