Skip to content
This repository was archived by the owner on Jul 3, 2023. It is now read-only.
This repository was archived by the owner on Jul 3, 2023. It is now read-only.

[JIT] flat_map operator with Option output #339

@mihaibudiu

Description

@mihaibudiu

Does the JIT compiler support this use of the flat_map operator?

        let filter0: _ = move |r: &Tuple6<i32, F64, bool, String, Option<i32>, Option<F64>>, | -> Option<Tuple6<i32, F64, bool, String, Option<i32>, Option<F64>>> {
            (if r.4.is_none() {
                None::<Tuple6<i32, F64, bool, String, Option<i32>, Option<F64>>>
            } else {
                Some(r.clone())
            })
        };
        let stream0: Stream<_, OrdZSet<Tuple6<i32, F64, bool, String, Option<i32>, Option<F64>>, Weight>> = T.flat_map(filter0);

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions