brittany/data/Test232.hs

5 lines
69 B
Haskell

{-# LANGUAGE LambdaCase #-}
func = \case
FooBar -> x
Baz -> y