diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-03-08 19:21:36 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-03-08 19:21:36 -0800 |
commit | 519a7fe124355ccba4f71720bac8ccfd064c1fba (patch) | |
tree | e064f9af8c752774baf99aa5d752d2d89a606cde /protsym.c | |
parent | 685c906b541ff7d457d2dd555f513ed93016bf75 (diff) | |
download | txr-519a7fe124355ccba4f71720bac8ccfd064c1fba.tar.gz txr-519a7fe124355ccba4f71720bac8ccfd064c1fba.tar.bz2 txr-519a7fe124355ccba4f71720bac8ccfd064c1fba.zip |
defset: eliminate the get-form argument.
* share/txr/stdlib/defset.tl (defset-expander): Drop getform
argument. Obtain the arguments of the place in a variable
called args, which is then explicitly destructured with
tree-case to match the params list. Having all of the original
arguments in args, we can work backwards to replace some of
them with gensyms. The resulting gensym-ized list is used
to generate the access call to the operator named by name.
* txr.1: Update doc to get rid of get-form. Updated and
corrected the long form example.
Diffstat (limited to 'protsym.c')
0 files changed, 0 insertions, 0 deletions