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