Skip to content

Binding patterns with sub-patterns #838

Closed
@marijnh

Description

@marijnh

Implement x@{y, _} to mean 'bind x to the whole record, y to the content of field y'. Any pattern can be prefixed with var@ to bind the whole thing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions