Support for field label in ADT? #670
bohonghuang
started this conversation in
Ideas and Proposals
Replies: 1 comment 1 reply
-
No plans to support or not support either way. FWIW, you can write a simple macro to allow field names if you please for your code base! (EDIT: But it wouldn't work with pattern matching/name-based destructuring.) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Field label in Haskell helps select fields by name in pattern matching:
Any plan to support this feature?
Beta Was this translation helpful? Give feedback.
All reactions