Sequence extension Sequence flatMap(_:) Returns a cursor over the concatenated results of mapping transform over self. Declaration Swift public func flatMap<SegmentOfResult: Cursor>( _ transform: @escaping (Iterator.Element) throws -> SegmentOfResult) -> FlattenCursor<MapCursor<AnyCursor<Iterator.Element>, SegmentOfResult>>