summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-06-12 07:51:58 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-06-12 07:51:58 -0700
commit5ee7422f1f2968a8999bbb96b068ef9567c20325 (patch)
tree912855c05e61f0cbc9913ea6d9c687d2fbebe1f1 /txr.1
parent77ae026de432a7ecf1ddf779eb5529bf0e67ffce (diff)
downloadtxr-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