mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-12 06:41:13 +02:00
doc: Update (ice-9 match) reference.
* doc/ref/match.texi (Pattern Matching): Document `***', `..1', and `__1'; remove `..k' and `__k'. Reported by Chris K. Jester-Young.
This commit is contained in:
parent
7af1ba2f6c
commit
7a1e193710
1 changed files with 5 additions and 2 deletions
|
@ -122,11 +122,14 @@ pat ::= identifier anything, and binds identifier
|
||||||
| (set! identifier) anything, and binds setter
|
| (set! identifier) anything, and binds setter
|
||||||
| (get! identifier) anything, and binds getter
|
| (get! identifier) anything, and binds getter
|
||||||
| `qp a quasi-pattern
|
| `qp a quasi-pattern
|
||||||
|
| (identifier *** pat) matches pat in a tree and binds
|
||||||
|
identifier to the path leading
|
||||||
|
to the object that matches pat
|
||||||
|
|
||||||
ooo ::= ... zero or more
|
ooo ::= ... zero or more
|
||||||
| ___ zero or more
|
| ___ zero or more
|
||||||
| ..k k or more
|
| ..1 1 or more
|
||||||
| __k k or more
|
| __1 1 or more
|
||||||
|
|
||||||
quasi-patterns: matches:
|
quasi-patterns: matches:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue