summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-10-04 10:22:08 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-10-04 10:22:08 -0700
commit75ddca922ba8dcaf696f23f613b1a9f594a1884f (patch)
tree2792a86030426b5e170edfc4acd294e218d8a987 /lib.c
parent0b587e521b5bee74c530adcf4636993ed91036c4 (diff)
downloadtxr-75ddca922ba8dcaf696f23f613b1a9f594a1884f.tar.gz
txr-75ddca922ba8dcaf696f23f613b1a9f594a1884f.tar.bz2
txr-75ddca922ba8dcaf696f23f613b1a9f594a1884f.zip
Optional arguments in boa construction.
* share/txr/stdlib/struct.tl (defstruct): Split boa arguments on colon and generate the lambda accordingly. The generated function detects which optional arguments are actually present and only performs the slot updates for those. * tests/012/struct.tl: Corrected boa test case. * txr.1: Documented.
Diffstat (limited to 'lib.c')
0 files changed, 0 insertions, 0 deletions