ipso icon indicating copy to clipboard operation
ipso copied to clipboard

Non-punning record field patterns

Open LightAndLight opened this issue 2 years ago • 0 comments

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 } -> ...

LightAndLight avatar May 31 '23 01:05 LightAndLight