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