summaryrefslogtreecommitdiffstats
path: root/tests/011/patmatch.tl
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-02-06 00:41:40 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-02-06 00:41:40 -0800
commit4104aedd5d1924ac52e5be8e05a2eb179ce4320e (patch)
treef95460cfc9b355f66f8a26c50ba655287c56e071 /tests/011/patmatch.tl
parent72e321922b438c58285314c5c816b211cdec70ef (diff)
downloadtxr-4104aedd5d1924ac52e5be8e05a2eb179ce4320e.tar.gz
txr-4104aedd5d1924ac52e5be8e05a2eb179ce4320e.tar.bz2
txr-4104aedd5d1924ac52e5be8e05a2eb179ce4320e.zip
matcher: left-to-right scoping for @(and).
And binds left to right now; only or is parallel. * share/txr/stdlib/match.tl (compile-and-mach): Do not compile the patterns with copies of the var list, but with he one and only incoming var-list. Consequently, there are not var lists to merge. par-pat parameter renamed to and-pat. * txr.1: Improve and/or documentation, clarifying scope rules. Also, clarify that variables in non-matching patterns of an or are no set to nil, if they are existing bindings from before the or.
Diffstat (limited to 'tests/011/patmatch.tl')
0 files changed, 0 insertions, 0 deletions