diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-10-21 06:56:53 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-10-21 06:56:53 -0700 |
commit | f9d4303ea0875da3feba4b5eb0dd372b676b8652 (patch) | |
tree | 2b180a51b214f57562ab4b82a38538b174137842 /lib.h | |
parent | 81f7dcca6528252c1f0a57d3b5581c628efa4bf1 (diff) | |
download | txr-f9d4303ea0875da3feba4b5eb0dd372b676b8652.tar.gz txr-f9d4303ea0875da3feba4b5eb0dd372b676b8652.tar.bz2 txr-f9d4303ea0875da3feba4b5eb0dd372b676b8652.zip |
* eval.c (eval_init): Register notf intrinsic function.
* lib.c (do_not): New static function.
(notf): New function.
* lib.h (notf): Declared.
* txr.1: Documented notf.
* share/txr/stdlib/txr-case.txr (bindable): Eliminated.
(txr-if): Use functional expression, taking advantage of notf.
* txr.vim: Regenerated.
Diffstat (limited to 'lib.h')
-rw-r--r-- | lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -725,6 +725,7 @@ val andf(val first_fun, ...); val andv(val funlist); val orf(val first_fun, ...); val orv(val funlist); +val notf(val fun); val iff(val condfun, val thenfun, val elsefun); val iffi(val condfun, val thenfun, val elsefun); val swap_12_21(val fun); |