mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 02:25:39 +03:00
add transcript
This commit is contained in:
parent
5cb5469c1e
commit
179e131e94
15
unison-src/transcripts/name-segment-escape.md
Normal file
15
unison-src/transcripts/name-segment-escape.md
Normal file
@ -0,0 +1,15 @@
|
||||
You can use a keyword or reserved operator as a name segment if you surround it with backticks.
|
||||
|
||||
```ucm:error
|
||||
.> view `match`
|
||||
.> view `=`
|
||||
```
|
||||
|
||||
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:error
|
||||
.> view `.`
|
||||
.> view `()`
|
||||
```
|
38
unison-src/transcripts/name-segment-escape.output.md
Normal file
38
unison-src/transcripts/name-segment-escape.output.md
Normal file
@ -0,0 +1,38 @@
|
||||
You can use a keyword or reserved operator as a name segment if you surround it with backticks.
|
||||
|
||||
```ucm
|
||||
.> view `match`
|
||||
|
||||
⚠️
|
||||
|
||||
The following names were not found in the codebase. Check your spelling.
|
||||
`match`
|
||||
|
||||
.> 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
|
||||
.> view `.`
|
||||
|
||||
⚠️
|
||||
|
||||
The following names were not found in the codebase. Check your spelling.
|
||||
`.`
|
||||
|
||||
.> view `()`
|
||||
|
||||
⚠️
|
||||
|
||||
The following names were not found in the codebase. Check your spelling.
|
||||
`()`
|
||||
|
||||
```
|
Loading…
Reference in New Issue
Block a user