diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | eval.c | 2 | ||||
-rw-r--r-- | txr.1 | 20 |
3 files changed, 27 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2015-07-10 Kaz Kylheku <kaz@kylheku.com> + * eval.c (eval_init): Register bindable as intrinsic. + + * txr.1: Documented. + +2015-07-10 Kaz Kylheku <kaz@kylheku.com> + New placelet macro. * lisplib.c (place_set_entries): Add placelet to list of names. @@ -4351,7 +4351,7 @@ void eval_init(void) reg_fun(intern(lit("symbol-package"), user_package), func_n1(symbol_package)); reg_fun(intern(lit("packagep"), user_package), func_n1(packagep)); reg_fun(intern(lit("keywordp"), user_package), func_n1(keywordp)); - + reg_fun(intern(lit("bindable"), user_package), func_n1(bindable)); reg_fun(intern(lit("mkstring"), user_package), func_n2(mkstring)); reg_fun(intern(lit("copy-str"), user_package), func_n1(copy_str)); reg_fun(intern(lit("upcase-str"), user_package), func_n1(upcase_str)); @@ -25320,6 +25320,26 @@ is a keyword symbol, otherwise it returns .codn nil . +.coNP Function @ bindable +.synb +.mets (bindable << obj ) +.syne +.desc +The +.code bindable +function returns +.code t +if +.meta obj +is a bindable symbol, otherwise it returns +.codn nil . + +All symbols are bindable, except for keyword symbols, and the +special symbols +.code t +and +.codn nil. + .SS* Pseudo-random Numbers .coNP Special variable @ *random-state* .desc |