Closed TheMatten closed 4 years ago
Another thought: this can probably subsume the Guard
construct with an extra case in Match
, idk whether it's worth it (even if it is it doesn't have to happen right here!).
@Lysxia I'm not hurrying, let's make it as good as possible here :slightly_smiling_face:
Something like Is :: (j -> Exp Bool) -> k -> Match j k
?
Right!
Thanks a lot!
My pleasure!
Fixes #12 and adds
Case
FCF as simple and readable but less powerful alternative toGuard
.