Segment iterable into lists where consecutive pairs satisfy predicate.
predicate
Available on Iterable<T>, provided by the IterableSegment extension