summaryrefslogtreecommitdiffstats
path: root/match.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-05-24 08:41:58 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-05-24 08:41:58 -0700
commitf2f951350516e4b959ef28f220e31b91b466fa16 (patch)
treeee4958ffcac59dcfb909ca5e217d5a74a42b1569 /match.h
parent7b587fe3450c949f454778bfaf71870a5a872f6b (diff)
downloadtxr-f2f951350516e4b959ef28f220e31b91b466fa16.tar.gz
txr-f2f951350516e4b959ef28f220e31b91b466fa16.tar.bz2
txr-f2f951350516e4b959ef28f220e31b91b466fa16.zip
matcher: allow hash pattern to omit values.
The @(hash ...) operator now allows key-only patterns like (42) or (@x), where x could be bound or unbound. This has separate semantics from when a value is present. * share/txr/stdlib/match.tl (compile-hash-match): Implement. * tests/011/patmatch.tl: Test. * txr.1: Document.
Diffstat (limited to 'match.h')
0 files changed, 0 insertions, 0 deletions