Skip to content

Commit 73c5557

Browse files
author
Petra Selmer
committed
Reinstated pre-parser suggestions
* Now in Appendix * "bind" -> "class" (former deprecated)
1 parent e908196 commit 73c5557

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cip/1.accepted/CIP2017-01-18-configurable-pattern-matching-semantics.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,3 +347,11 @@ This section presents a few such functions:
347347
* `toPath(p)`: returns `toTrail(p)` if `p` contains no duplicate nodes at all or if the only two duplicate nodes are the source and target nodes of `p`, `null` otherwise.
348348
* `toCircuit(p)`: returns `toTrail(p)` if `isClosed(p)` is true, `null` otherwise.
349349
* `toCycle(p)`: returns `toPath(p)` if `isClosed(p)` is true, `null` otherwise.
350+
351+
[appendix]
352+
== Pre-parser options
353+
354+
It is suggested that a conforming implementation should provide pre-parser options for defining the default pattern variable class as well as the default pattern match mode:
355+
356+
* `class=walks|trails|paths` for configuring a different default pattern variable class
357+
* `match=all|all-shortest|shortest` for configuring a different default pattern match mode

0 commit comments

Comments
 (0)