Lookahead-while
Issue #9
new
while
and until
should have versions that operate on the next element, non-destructively.
(Perhaps the best way to do this is a version of pairs
where the second element is a peek
from the sequence; the ‘end-of-sequence’ sentinel should be configurable.)