fourmolu-0.2.0.0: data/examples/declaration/value/function/lambda-case-four-out.hs
{-# LANGUAGE LambdaCase #-}
foo = bar (\case JKey{} -> True; _ -> False)
foo :: Int -> Int
foo = \case
5 -> 10
i | i > 5 -> 11
_ -> 12
{-# LANGUAGE LambdaCase #-}
foo = bar (\case JKey{} -> True; _ -> False)
foo :: Int -> Int
foo = \case
5 -> 10
i | i > 5 -> 11
_ -> 12