mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 02:25:39 +03:00
25 lines
283 B
Markdown
25 lines
283 B
Markdown
```ucm:hide
|
|
myproject/main> builtins.merge lib.builtin
|
|
```
|
|
|
|
```unison
|
|
a.x.x.x.x = 100
|
|
b.x.x.x.x = 100
|
|
foo = 25
|
|
c.y.y.y.y = foo + 10
|
|
d.y.y.y.y = foo + 10
|
|
bar = a.x.x.x.x + c.y.y.y.y
|
|
```
|
|
|
|
```ucm
|
|
myproject/main> add
|
|
```
|
|
|
|
```unison
|
|
foo = +30
|
|
```
|
|
|
|
```ucm:error
|
|
myproject/main> update
|
|
```
|