Repository navigation
New rule: single_case_function (or something better!)
#503
Closed
paulo-ferraz-oliveira
started this conversation in
Ideas
Replies: 1 comment 3 replies
|
It's not that simple. The case should no be evaluating a function in its expression, nor computing a value that will be hard/impossible to compute in guards. |
3 replies
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.
If the only thing your function does is implement a case, move it to pattern matching (?)
All reactions