mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-19 06:17:33 +03:00
23 lines
305 B
Markdown
23 lines
305 B
Markdown
|
|
```ucm:hide
|
|
scratch/main> builtins.merge
|
|
```
|
|
|
|
```unison:hide
|
|
structural ability CLI where
|
|
print : Text ->{CLI} ()
|
|
input : {CLI} Text
|
|
```
|
|
|
|
```ucm:hide
|
|
scratch/main> add
|
|
```
|
|
|
|
The `input` here should parse as a wildcard, not as `CLI.input`.
|
|
|
|
```unison
|
|
repro : Text -> ()
|
|
repro = cases
|
|
input -> ()
|
|
```
|