Sha256: 71d3968d820172330d247a1b67ce923f0d2b51d41f33f57c12b3fab596506423
Contents?: true
Size: 477 Bytes
Versions: 52
Compression:
Stored size: 477 Bytes
Contents
module Allergies (Allergen(..), allergies, isAllergicTo) where data Allergen = Eggs | Peanuts | Shellfish | Strawberries | Tomatoes | Chocolate | Pollen | Cats deriving (Eq) allergies :: Int -> [Allergen] allergies = error "You need to implement this function." isAllergicTo :: Allergen -> Int -> Bool isAllergicTo = error "You need to implement this function."
Version data entries
52 entries across 52 versions & 1 rubygems