unison/unison-src/transcripts/update-type-with-dependent-type-to-different-kind.md
2024-06-25 11:11:07 -07:00

21 lines
238 B
Markdown

```ucm:hide
scratch/main> builtins.merge lib.builtin
```
```unison
unique type Foo = Bar Nat
unique type Baz = Qux Foo
```
```ucm
scratch/main> add
```
```unison
unique type Foo a = Bar Nat a
```
```ucm:error
scratch/main> update
```