failing transcript

This commit is contained in:
Arya Irani 2024-08-09 15:44:35 -04:00
parent 4c3eb03079
commit 01cae7efdb
2 changed files with 76 additions and 0 deletions

View File

@ -0,0 +1,26 @@
```ucm
scratch/main> builtins.merge lib.builtins
```
```unison:hide
a = do b
b = "Hello, " ++ c ++ "!"
c = "World"
```
```ucm
scratch/main> add
scratch/main> run a
```
```unison:hide
a = do b
c = "Unison"
```
```ucm
scratch/main> update
scratch/main> run a
```
The result should be "Hello, Unison!".

View File

@ -0,0 +1,50 @@
``` ucm
scratch/main> builtins.merge lib.builtins
Done.
```
``` unison
a = do b
b = "Hello, " ++ c ++ "!"
c = "World"
```
``` ucm
scratch/main> add
⍟ I've added these definitions:
a : 'Text
b : Text
c : Text
scratch/main> run a
"Hello, World!"
```
``` unison
a = do b
c = "Unison"
```
``` ucm
scratch/main> update
Okay, I'm searching the branch for code that needs to be
updated...
That's done. Now I'm making sure everything typechecks...
Everything typechecks, so I'm saving the results...
Done.
scratch/main> run a
"Hello, World!"
```
The result should be "Hello, Unison\!".