mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 02:25:39 +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 -> ()
|
|
```
|