packages feed

tilia-0.2.0.0: corpora/vendored/pragma/header/comment-under-a-hoisted-pragma-below-a-block-haddock-out'.hs

{-# LANGUAGE DerivingStrategies #-}

{- |
Raised beds and what grows in them.

Each bed is a grid of squares, one plant to a square.
-}
-- the grid stays square until beds can be irregular
module Garden.Beds (Bed, plant) where

data Bed = Bed [[Maybe String]]
    deriving stock (Show)

plant :: String -> Int -> Int -> Bed -> Bed
plant _ _ _ = id