diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-06-06 06:28:12 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-06-06 06:28:12 -0700 |
commit | 0aecd0d378734e8dbbfb1fd0cf9767b4331d7ec6 (patch) | |
tree | 1a89eaeb51541ed6b6719c7abb5616d7c9e9f7ac /lib.c | |
parent | 6559d3bab6597d4805ca604103c107032d6b94e9 (diff) | |
download | txr-0aecd0d378734e8dbbfb1fd0cf9767b4331d7ec6.tar.gz txr-0aecd0d378734e8dbbfb1fd0cf9767b4331d7ec6.tar.bz2 txr-0aecd0d378734e8dbbfb1fd0cf9767b4331d7ec6.zip |
Fix useless tolist over COBJ objects.
* lib.c (tolist): Use mapcar_listout, to avoid
the conversion of the resulting list to the object's type,
making this whole operation useless!
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -706,7 +706,7 @@ val tolist(val seq) case LSTR: return list_str(seq); case COBJ: - return mapcar(identity_f, seq); + return mapcar_listout(identity_f, seq); case NIL: case CONS: case LCONS: |