diff options
author | Paul A. Patience <paul@apatience.com> | 2022-01-17 06:40:51 -0500 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-01-21 22:30:38 -0800 |
commit | 2f9f717738b6bf8e1acd728567a0f953fc8a3614 (patch) | |
tree | d06f7df85cacedc967082595e1696a485d15a6e7 /lisplib.c | |
parent | 27898e3aa3c6d7daa784712731aa03a7e6d60b22 (diff) | |
download | txr-2f9f717738b6bf8e1acd728567a0f953fc8a3614.tar.gz txr-2f9f717738b6bf8e1acd728567a0f953fc8a3614.tar.bz2 txr-2f9f717738b6bf8e1acd728567a0f953fc8a3614.zip |
type: new macro etypecase.
* lisplib.c (type_set_entries): Add etypecase to autoload list.
* stdlib/type.tl (etypecase): New macro.
* txr.1: Documented.
* stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'lisplib.c')
-rw-r--r-- | lisplib.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -292,7 +292,9 @@ static val except_instantiate(val set_fun) static val type_set_entries(val dlt, val fun) { - val name[] = { lit("typecase"), nil }; + val name[] = { + lit("typecase"), lit("etypecase"), nil + }; set_dlt_entries(dlt, name, fun); return nil; } |