> Succinct alternative clause patterns using |
This is brilliant. I wish Haskell had this too.
> Only case statement, no if
I don't quite understand the arguments here. How is that verbose "case" example any better than:
if if_boolean
then "case statements only"
else "you didn't get a choice"
?