What are additional LetPattern and MatchPattern cases that'd be useful? #4714
StachuDotNet
started this conversation in
Suggestions
Replies: 3 comments 4 replies
-
|
should this ever be legal Dark code? match [1; 2; 3] with
| first :: second :: [] -> "exactly 2 elements"
| _ -> "not 2 elements" |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
should this ever be legal Dark code? (relevant to #4711 right now) |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Should this be legal? ("constructor"/enum let pattern) let opt = Just 1
let (Just a) = opt
a |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Useful links:
Beta Was this translation helpful? Give feedback.
All reactions