diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-08-24 06:37:19 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-08-24 06:37:19 -0700 |
commit | 4e3e4e1ccc60331ff8ff4c1c139e9da3c95e2272 (patch) | |
tree | 05869854697db857750edeb23b091c39983a4e1e /lib.h | |
parent | 87af2fde6249070addbed571482ddae251d90161 (diff) | |
download | txr-4e3e4e1ccc60331ff8ff4c1c139e9da3c95e2272.tar.gz txr-4e3e4e1ccc60331ff8ff4c1c139e9da3c95e2272.tar.bz2 txr-4e3e4e1ccc60331ff8ff4c1c139e9da3c95e2272.zip |
New function: shuffle.
* eval.c (eval_init): Register shuffle as intrinsic.
* lib.c (shuffle): New function.
* lib.h (shuffle): Declared.
Diffstat (limited to 'lib.h')
-rw-r--r-- | lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -835,6 +835,7 @@ val mapdo(val fun, val list); val interpose(val sep, val seq); val merge(val list1, val list2, val lessfun, val keyfun); val sort(val seq, val lessfun, val keyfun); +val shuffle(val seq); val multi_sort(val lists, val funcs, val key_funcs); val sort_group(val seq, val keyfun, val lessfun); val unique(val seq, val keyfun, struct args *hashv_args); |