Skip to content

Support pattern-matching in comprehensions #887

@evhub

Description

@evhub

Should compile

[a + b for Pair(a, b) in pairs]

or

[a + b match for Pair(a, b) in pairs]

into the equivalent of

[(def (Pair(a, b)) => a + b)(p) for p in pairs]

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions