mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-19 06:17:33 +03:00
41 lines
536 B
Markdown
41 lines
536 B
Markdown
```unison
|
|
{{
|
|
A simple doc.
|
|
}}
|
|
meh = 9
|
|
```
|
|
|
|
```ucm
|
|
|
|
Loading changes detected in scratch.u.
|
|
|
|
I found and typechecked these definitions in scratch.u. If you
|
|
do an `add` or `update`, here's how your codebase would
|
|
change:
|
|
|
|
⍟ These new definitions are ok to `add`:
|
|
|
|
meh : Nat
|
|
meh.doc : Doc2
|
|
|
|
```
|
|
```ucm
|
|
scratch/main> add
|
|
|
|
⍟ I've added these definitions:
|
|
|
|
meh : Nat
|
|
meh.doc : Doc2
|
|
|
|
scratch/main> find meh
|
|
|
|
1. meh : Nat
|
|
2. meh.doc : Doc2
|
|
|
|
|
|
scratch/main> docs 1
|
|
|
|
A simple doc.
|
|
|
|
```
|