wiki:LambdaCase

Version 1 (modified by john@…, 10 years ago) (diff)

--

case statements as first order

a simple desugaring,

case of
   arms

gets desugared to

\x -> case x of
    arms