unison/unison-src/transcripts/update-type-with-dependent-type-to-different-kind.md

21 lines
238 B
Markdown
Raw Permalink Normal View History

2023-11-08 17:33:42 +03:00
```ucm:hide
scratch/main> builtins.merge lib.builtin
2023-11-08 17:16:19 +03:00
```
```unison
2023-11-08 17:33:42 +03:00
unique type Foo = Bar Nat
unique type Baz = Qux Foo
2023-11-08 17:16:19 +03:00
```
```ucm
scratch/main> add
2023-11-08 17:16:19 +03:00
```
```unison
2023-11-08 17:33:42 +03:00
unique type Foo a = Bar Nat a
2023-11-08 17:16:19 +03:00
```
```ucm:error
scratch/main> update
2023-11-08 17:16:19 +03:00
```