Returning lazy sequences

Advertisements I have a lazy sequence I do some operations on and want to return from a function func getSeq() -> ??? { let a = array.lazy ./* … operations like map, filter, etc */ } The final type of a is: LazyMapSequence<FlattenSequence<LazyMapSequence<LazyFilterSequence<LazySequence<[[ComponentId] : ArchetypeId]>.Elements>.Elements, Zip2Sequence<Zip2Sequence<[C1], [C2]>, [C3]>>>, (C1, C2, C3)> now how do I… Read More Returning lazy sequences