mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-23 16:28:02 +03:00
b7bf12081b
* Fix #1056 and add author and license metadata types * Transcript demonstrating that the codebase is empty at first
408 B
408 B
.> builtins.merge
First we add some code:
x = 0
y = x + 1
z = y + 2
.> add
Now we edit x
to be 7
, which should make z
equal 10
:
x = 7
.> update
.> view x y z
Uh oh! z
is still referencing the old version. Just to confirm:
test> t1 = if z == 3 then [Fail "nooo!!!"] else [Ok "great"]
.> add
.> test