on f86e01e help sign in
7 lines 98 B history raw
1{-# LANGUAGE LambdaCase #-}
3foo :: Int -> Int
4foo = \case
5 5 -> 10
6 i | i > 5 -> 11
7 _ -> 12