Skip to content

Non-punning record field patterns #418

Description

@LightAndLight

Currently I can only pattern match on a record by punning its fields:

case x of
  { a, b, c } -> ...

I want to choose which fields to pun and which fields to assign custom names:

case x of
  { a, b = renamed, c } -> ...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions