ref: 5453bdf906a8b8827d0b4f49a50cea9fddca43af
dir: /tests/OrPat.hs/
module OrPat where data Sweet = Cupcake | Liquorice | Cookie | Raisins taste :: Sweet -> Bool tasty (Cupcake; Cookie) = True tasty (Liquorice; Raisins) = False main :: IO () main = print $ map tasty [Cupcake, Liquorice, Cupcake, Raisins]