ghc-exactprint-1.14.0.0: tests/examples/pre-ghc910/pmc002.hs
{-# OPTIONS_GHC -fwarn-incomplete-patterns -fwarn-overlapping-patterns #-}
module PMC002 where
f :: [a] -> Bool
f [] = True
f x | (_:_) <- x = False -- exhaustive
{-# OPTIONS_GHC -fwarn-incomplete-patterns -fwarn-overlapping-patterns #-}
module PMC002 where
f :: [a] -> Bool
f [] = True
f x | (_:_) <- x = False -- exhaustive