summaryrefslogtreecommitdiffstats
path: root/struct.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-02-04 07:09:33 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-02-04 07:09:33 -0800
commit972e2b968c177e164d3c731718cbfab7b3592e4c (patch)
treedbafba322ff8988816d1c77d40c783cbe50c4ef0 /struct.c
parent726fc85294c3e9954587f7c70e1f8776102d282a (diff)
downloadtxr-972e2b968c177e164d3c731718cbfab7b3592e4c.tar.gz
txr-972e2b968c177e164d3c731718cbfab7b3592e4c.tar.bz2
txr-972e2b968c177e164d3c731718cbfab7b3592e4c.zip
matcher: add :match parameter macro.
With this, we can do matching anywhere we are able to specify a function parameter list and a body, and we can specify ordinary arguments, which are inserted to the left of the implicit match. Plus, it specialy integrates with :key. * lisplib.c (match_set_entries): Autoload on :match. * share/txr/stdlib/match.tl (:match): New parameter macro. * txr.1: Documented.
Diffstat (limited to 'struct.c')
0 files changed, 0 insertions, 0 deletions