diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-02-24 20:14:17 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-02-24 20:14:17 -0800 |
commit | 40768ab0200b1017e0cb9e1f799fced830074519 (patch) | |
tree | fdfb767b574d1d6cd07fb882c82c8ff67d3453ad /lib.h | |
parent | 37cfe995711604880217b1e07ee1274819a2b926 (diff) | |
download | txr-40768ab0200b1017e0cb9e1f799fced830074519.tar.gz txr-40768ab0200b1017e0cb9e1f799fced830074519.tar.bz2 txr-40768ab0200b1017e0cb9e1f799fced830074519.zip |
bracket: new function.
* eval.c (eval_init): Register bracket intrinsic.
* lib.c (bracket): New function.
* lib.h (bracket): Declared.
* txr.1: Documented.
Diffstat (limited to 'lib.h')
-rw-r--r-- | lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -740,6 +740,7 @@ val minv(val first, struct args *rest); val maxl(val first, val rest); val minl(val first, val rest); val clamp(val low, val high, val num); +val bracket(val larg, struct args *args); val expt(val base, val exp); val exptv(struct args *nlist); val exptmod(val base, val exp, val mod); |