It comes up when I would otherwise use (take-while pred coll), but I need to include the first item for which (pred item) is false.
Includes transducer arity of take-until
Includes inclusion in transducer generative tests
I feel like this is superceded by CLJ-1906
And this is definitely superseded by `halt-when`
It's not lazy but this is one way to write take-until with halt-when:
I wanted to suggest: `(sequence (halt-when p conj) s)` but sequence doesn't support stopping short on a reduced value so that won't work.
Yeah, halt-when is a little tricky to use in transducible contexts other than transduce.