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

Version Path
trackler-2.0.8.32 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.0.8.31 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.0.8.30 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.0.8.29 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.0.8.28 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.0.8.27 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.0.8.26 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.0.8.24 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.0.8.23 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.0.8.22 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.0.8.21 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.0.8.20 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.0.8.19 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs