diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-01-21 21:27:49 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-01-21 21:27:49 -0800 |
commit | a229461d0aff75401d3164c286a5f0960238199e (patch) | |
tree | 454acef5d3afbbd8c07ff032cc37c67b2d0bc8db /lib.h | |
parent | dd108fe76bf8c124ec7d68ed0a346c54c01ad182 (diff) | |
download | txr-a229461d0aff75401d3164c286a5f0960238199e.tar.gz txr-a229461d0aff75401d3164c286a5f0960238199e.tar.bz2 txr-a229461d0aff75401d3164c286a5f0960238199e.zip |
* eval.c (mapcarv, mappendv): Convert output to type of leftmost
input sequence.
* lib.c (make_like): New function.
(reverse, remq, remql, remqual, remove_if, keep_if, mapcar, mapcon,
mappend, set_diff): Convert output list to type of leftmost input
sequence.
* lib.h (make_like): Declared.
* txr.1: Documented.
Diffstat (limited to 'lib.h')
-rw-r--r-- | lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -373,6 +373,7 @@ val *ltail(val *cons); val pop(val *plist); val push(val v, val *plist); val copy_list(val list); +val make_like(val list, val thatobj); val nreverse(val in); val reverse(val in); val append2(val list1, val list2); |