Sha256: 15e2ff7129a8db3223d0268c5481310a5d521e3ec42288f6beb31dfafd38b120
Contents?: true
Size: 601 Bytes
Versions: 233
Compression:
Stored size: 601 Bytes
Contents
module Garden ( Plant (..) , defaultGarden , garden , lookupPlants ) where import Data.Map (Map) data Plant = Clover | Grass | Radishes | Violets deriving (Eq, Show) defaultGarden :: String -> Map String [Plant] defaultGarden plants = error "You need to implement this function." garden :: [String] -> String -> Map String [Plant] garden students plants = error "You need to implement this function." lookupPlants :: String -> Map String [Plant] -> [Plant] lookupPlants student garden = error "You need to implement this function."
Version data entries
233 entries across 233 versions & 1 rubygems