mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 02:25:39 +03:00
16 lines
201 B
Markdown
16 lines
201 B
Markdown
```ucm:hide
|
|
scratch/main> alias.type ##Nat lib.base.Nat
|
|
```
|
|
|
|
```unison:hide
|
|
unique type foo.bar.baz.MyRecord = {
|
|
value : Nat
|
|
}
|
|
```
|
|
|
|
```ucm
|
|
scratch/main> add
|
|
|
|
scratch/main> find : Nat -> MyRecord
|
|
```
|