hurryabit/pukeko

Allow variables and wildcards as outermost patterns in case expressions

Opened this issue · 0 comments

Currently, every pattern has to start with a constructor in the parser. Thus, catch-all patterns like

  case ... of
    ...
    x -> ...

or even

  case ... of
    ...
    _ -> ...

are impossible.