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