diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-11-25 06:29:43 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-11-25 06:29:43 -0800 |
commit | fd7e0a944b77d1cbba91e323cd0679bf0d00652b (patch) | |
tree | 1d1c3beea176c987eb8b2a6bbd0dbb6d1f545905 /lisplib.c | |
parent | 49133d53e863ddfeeffcb46c7c20575f8c7910c5 (diff) | |
download | txr-fd7e0a944b77d1cbba91e323cd0679bf0d00652b.tar.gz txr-fd7e0a944b77d1cbba91e323cd0679bf0d00652b.tar.bz2 txr-fd7e0a944b77d1cbba91e323cd0679bf0d00652b.zip |
New macro define-accessor.
* lisplib.c (place_set_entries): New entry to trigger
autoloading for define-accessor.
* share/txr/stdlib/place.tl (sys:register-simple-accessor):
New function.
(define-accessor): New macro.
* txr.1: Documented define-accessor.
Diffstat (limited to 'lisplib.c')
-rw-r--r-- | lisplib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ static val place_set_entries(val dlt, val fun) lit("push"), lit("pop"), lit("swap"), lit("shift"), lit("rotate"), lit("pushnew"), lit("del"), lit("defplace"), lit("define-place-macro"), lit("define-modify-macro"), - lit("placelet"), lit("placelet*"), + lit("placelet"), lit("placelet*"), lit("define-acessor"), nil }; |