unison/unison-src/transcripts/update-type-constructor-alias.md
2024-07-23 13:45:16 -04:00

21 lines
258 B
Markdown

```ucm:hide
scratch/main> builtins.merge lib.builtin
```
```unison
unique type Foo = Bar Nat
```
```ucm
scratch/main> add
scratch/main> alias.term Foo.Bar Foo.BarAlias
```
```unison
unique type Foo = Bar Nat Nat
```
```ucm:error
scratch/main> update
```