mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 02:25:39 +03:00
24 lines
339 B
Markdown
24 lines
339 B
Markdown
```ucm:hide
|
|
scratch/main> builtins.merge lib.builtin
|
|
```
|
|
|
|
```unison
|
|
unique type Foo = Bar Nat
|
|
```
|
|
|
|
```ucm
|
|
scratch/main> add
|
|
scratch/main> delete.term Foo.Bar
|
|
```
|
|
|
|
Now we've set up a situation where the original constructor missing.
|
|
|
|
```unison
|
|
unique type Foo = Bar Nat Nat
|
|
```
|
|
|
|
```ucm:error
|
|
scratch/main> view Foo
|
|
scratch/main> update
|
|
```
|