unison/unison-src/transcripts/fix942.md
Paul Chiusano b7bf12081b
Add Author and License metadata types to builtins (#1228)
* Fix #1056 and add author and license metadata types

* Transcript demonstrating that the codebase is empty at first
2020-02-13 10:59:53 -05:00

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