Fun fact! This version isn't actually lazy. LazySequenceProtocol.compactMap takes an escaping closure, which this predicate isn't, so the compactMap is silently inferred to be the regular Sequence.compactMap.
6 Likes