Sha256: 92dd22890bfaa015df2ccf7cec5d3ba196dbb296fe40366fa2fdf4b2d04643be
Contents?: true
Size: 563 Bytes
Versions: 52
Compression:
Stored size: 563 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 = error "You need to implement this function." garden :: [String] -> String -> Map String [Plant] garden = error "You need to implement this function." lookupPlants :: String -> Map String [Plant] -> [Plant] lookupPlants = error "You need to implement this function."
Version data entries
52 entries across 52 versions & 1 rubygems