wiki:LambdaCase

case statements as first order

a simple desugaring,

case of
   arms

gets desugared to

\x -> case x of
    arms

see also

Last modified 12 years ago Last modified on Dec 3, 2005 1:28:06 AM