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