diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-06-12 07:51:58 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-06-12 07:51:58 -0700 |
commit | 5ee7422f1f2968a8999bbb96b068ef9567c20325 (patch) | |
tree | 912855c05e61f0cbc9913ea6d9c687d2fbebe1f1 /txr.1 | |
parent | 77ae026de432a7ecf1ddf779eb5529bf0e67ffce (diff) | |
download | txr-5ee7422f1f2968a8999bbb96b068ef9567c20325.tar.gz txr-5ee7422f1f2968a8999bbb96b068ef9567c20325.tar.bz2 txr-5ee7422f1f2968a8999bbb96b068ef9567c20325.zip |
replace-vec, replace-str: refactor with sequence iteration.
* lib.c (replace_vec, replace_str): Don't use dubious toseq
on input items, which converts non-sequence atoms into lists
of one. Use sequence iterators to reduce number of cases in
the code.
Diffstat (limited to 'txr.1')
0 files changed, 0 insertions, 0 deletions