- plantPieceLengths :: Plant a -> Plant Double
- plantWeightedPieceLengths :: Double -> Plant a -> Plant Double
- weightedPlantLength :: Plant a -> Double
- plantLength :: Plant a -> Double
- plantTotalSum :: Plant Double -> Double
- subPieceAccumulate :: Monoid m => Plant m -> Plant m
- mapGarden :: (Planted a -> Planted b) -> Garden a -> Garden b
- zipWithGarden :: (Planted a -> x -> Planted b) -> Garden a -> [x] -> Garden b
- mapPlanted :: (Plant a -> Plant b) -> Planted a -> Planted b
Documentation
plantPieceLengths :: Plant a -> Plant DoubleSource
Puts the length of the current segment in the additional information field
weightedPlantLength :: Plant a -> DoubleSource
plantLength :: Plant a -> DoubleSource
plantTotalSum :: Plant Double -> DoubleSource
subPieceAccumulate :: Monoid m => Plant m -> Plant mSource
mapGarden :: (Planted a -> Planted b) -> Garden a -> Garden bSource
Apply a function to each Planted in a Garden