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