2024-07-10 17:46:18 +03:00
|
|
|
``` unison
|
2021-08-24 21:33:27 +03:00
|
|
|
structural ability CLI where
|
2020-11-24 22:18:15 +03:00
|
|
|
print : Text ->{CLI} ()
|
|
|
|
input : {CLI} Text
|
|
|
|
```
|
|
|
|
|
|
|
|
The `input` here should parse as a wildcard, not as `CLI.input`.
|
|
|
|
|
2024-07-10 17:46:18 +03:00
|
|
|
``` unison
|
2020-11-24 22:18:15 +03:00
|
|
|
repro : Text -> ()
|
|
|
|
repro = cases
|
|
|
|
input -> ()
|
|
|
|
```
|
|
|
|
|
2024-07-10 19:17:15 +03:00
|
|
|
``` ucm
|
2020-11-24 22:18:15 +03:00
|
|
|
|
2023-12-22 14:55:24 +03:00
|
|
|
Loading changes detected in scratch.u.
|
|
|
|
|
2020-11-24 22:18:15 +03:00
|
|
|
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`:
|
|
|
|
|
|
|
|
repro : Text -> ()
|
|
|
|
|
|
|
|
```
|