summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-11-11 06:33:01 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-11-11 06:33:01 -0800
commit82020af157ad104be3a62b57053d2420d17785f9 (patch)
treee2a54d56d981a7d6e2c657e154fa264b237546b4 /eval.c
parent73368784f2c3d69a0fbc227420550b4b1e05d4ea (diff)
downloadtxr-82020af157ad104be3a62b57053d2420d17785f9.tar.gz
txr-82020af157ad104be3a62b57053d2420d17785f9.tar.bz2
txr-82020af157ad104be3a62b57053d2420d17785f9.zip
Improve reverse and nreverse.
* lib.c (nreverse): Handle strings and vectors individually, and do strings and vectors in-place. (reverse): Handle strings and vectors individually, by duplicating and then in place. Handle lazy strings by forcing, then reversing a copy.
Diffstat (limited to 'eval.c')
0 files changed, 0 insertions, 0 deletions