ref: e2ca4b93e4deb4d3c390caf5de467430925dffa3
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]