summaryrefslogtreecommitdiffstats
path: root/tests/002/proc/2718
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-02-06 19:07:15 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-02-06 19:07:15 -0800
commit777eb4e599dd13797fbf7f458717a3ceff71b94d (patch)
treef10405d27d244063f011f906e2263e8b12fedd6d /tests/002/proc/2718
parent4104aedd5d1924ac52e5be8e05a2eb179ce4320e (diff)
downloadtxr-777eb4e599dd13797fbf7f458717a3ceff71b94d.tar.gz
txr-777eb4e599dd13797fbf7f458717a3ceff71b94d.tar.bz2
txr-777eb4e599dd13797fbf7f458717a3ceff71b94d.zip
matcher: redesign predicate pattern.
* share/txr/stdlib/match.tl (compile-dwim-predicate-match): Function removed. There is no more special @(dwim ...) or @[...] pattern. (compile-predicate-match): Function rewritten, providing different syntax and semantics. (compile-match): dwim dispatch removed. (non-triv-pat-p): Replaced @(op ...) calls with new-style predicate syntax. (var-pat-p): Likewise, and upgraded one instance of old-style predicate syntax to new. * share/txr/stdlib/compiler.tl (reduce-or): Adjust predicate pattern to new style. * share/txr/stdlib/optimize.tl (dedup-labels): Likewise. * tests/011/patmatch.tl: All test cases with predicate syntax are updated to new style. One test case removed; some added. * txr.1: Predicate patterns re-documented. All examples involving predicate patterns updated.
Diffstat (limited to 'tests/002/proc/2718')
0 files changed, 0 insertions, 0 deletions