mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 02:25:39 +03:00
This is for consistency with the `cmark` style. Now the blocks we still pretty-print ourselves will match the bulk of them that `cmark` produces.
39 lines
838 B
Markdown
39 lines
838 B
Markdown
You can use a keyword or reserved operator as a name segment if you surround it with backticks.
|
|
|
|
``` ucm
|
|
scratch/main> view `match`
|
|
|
|
⚠️
|
|
|
|
The following names were not found in the codebase. Check your spelling.
|
|
`match`
|
|
|
|
scratch/main> view `=`
|
|
|
|
⚠️
|
|
|
|
The following names were not found in the codebase. Check your spelling.
|
|
`=`
|
|
|
|
```
|
|
You can also use backticks to expand the set of valid symbols in a symboly name segment to include these three: `.()`
|
|
|
|
This allows you to spell `.` or `()` as name segments (which historically have appeared in the namespace).
|
|
|
|
``` ucm
|
|
scratch/main> view `.`
|
|
|
|
⚠️
|
|
|
|
The following names were not found in the codebase. Check your spelling.
|
|
`.`
|
|
|
|
scratch/main> view `()`
|
|
|
|
⚠️
|
|
|
|
The following names were not found in the codebase. Check your spelling.
|
|
`()`
|
|
|
|
```
|