Open jackfirth opened 4 years ago
Does inserting-in-between
seem like a good addition for this?
Signature:
(inserting-in-between [v any/c]) -> transducer?
Example:
> (transduce "aaa"
(inserting-in-between #\b)
#:into into-string)
"ababa"
Yes, definitely. Eventually I want to offer a transducer-based alternative for all of the use cases of add-between
, including the various keyword arguments it has. Will probably be multiple issues though, since add-between
does a lot of different things. That #:splice?
keyword is magic.
@samdphillips Over four years later, your suggestion is finally implemented. See #524.
Signatures:
Examples: