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.2.1.54 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.2.1.53 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.2.1.52 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.2.1.51 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.2.1.50 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.2.1.49 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.2.1.48 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.2.1.47 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.2.1.46 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.2.1.45 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.2.1.44 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.2.1.43 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.2.1.42 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.2.1.41 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.2.1.40 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.2.1.39 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.2.1.38 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.2.1.37 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.2.1.36 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs
trackler-2.2.1.35 tracks/haskell/exercises/kindergarten-garden/src/Garden.hs