mirror of
https://github.com/apple/swift-async-algorithms
synced 2026-11-24 04:17:52 +00:00
Fix typo in Validation.md (#172)
* Add escaping characters before | * Add more escaping characters before |
This commit is contained in:
1 file changed
+4
-4
@@ -41,7 +41,7 @@ The syntax is trivially parsable (and consequently customizable). By default, th
|
||||
| Symbol | Description | Example |
|
||||
| ------- | ----------------- | ---------- |
|
||||
| `-` | Advance time | `"a--b--"` |
|
||||
| `|` | Termination | `"ab-|"` |
|
||||
| `\|` | Termination | `"ab-\|"` |
|
||||
| `^` | Thrown error | `"ab-^"` |
|
||||
| `;` | Cancellation | `"ab;-"` |
|
||||
| `[` | Begin group | `"[ab]-"` |
|
||||
@@ -218,15 +218,15 @@ Access to the validation diagram input list is done through calls such as `$0.in
|
||||
| Symbol | Token | Description | Example |
|
||||
| ------- | ------------------------- | ----------------- | ---------- |
|
||||
| `-` | `.step` | Advance time | `"a--b--"` |
|
||||
| `|` | `.finish` | Termination | `"ab-|"` |
|
||||
| `\|` | `.finish` | Termination | `"ab-\|"` |
|
||||
| `^` | `.error` | Thrown error | `"ab-^"` |
|
||||
| `;` | `.cancel` | Cancellation | `"ab;-"` |
|
||||
| `[` | `.beginGroup` | Begin group | `"[ab]-"` |
|
||||
| `]` | `.endGroup` | End group | `"[ab]-"` |
|
||||
| `'` | `.beginValue` `.endValue` | Begin/End Value | `"'foo'-"` |
|
||||
| `,` | `.delayNext` | Delay next | `",[a,]b"` |
|
||||
| ` ` | `.skip` | Skip/Ignore | `"a b- |"` |
|
||||
| | `.value` | Values. | `"ab-|"` |
|
||||
| ` ` | `.skip` | Skip/Ignore | `"a b- \|"` |
|
||||
| | `.value` | Values. | `"ab-\|"` |
|
||||
|
||||
There are some diagram input specifications that are not valid. The three cases are:
|
||||
|
||||
|
||||
Reference in new issue
Block a user