packages feed

ghc-exactprint-0.5.1.0: tests/examples/ghc8/pmc002.hs

{-# OPTIONS_GHC -fwarn-incomplete-patterns -fwarn-overlapping-patterns #-}

module PMC002 where

f :: [a] -> Bool
f []              = True
f x  | (_:_) <- x = False -- exhaustive