Module

Webb.Writer.ForEach

Package
purescript-webb-writer
Repository
mitchellandwebb/webb-writer

#Length Source

class Length a  where

Members

Instances

#St Source

type St = { after :: Maybe Void, before :: Maybe Void, between :: Maybe Void, each :: Maybe Void }

Instances

#ForEach Source

newtype ForEach :: forall k1 k2 k3. k1 -> k2 -> k3 -> Type -> Typenewtype ForEach m a b x

Constructors

Instances

#forEach Source

forEach :: forall m t a b. Monad m => TraversableWithIndex Int t => Length (t a) => Monoid (t b) => t a -> ForEach m a b Unit -> m (t b)

#forEach_ Source

forEach_ :: forall m t a b. Monad m => TraversableWithIndex Int t => Length (t a) => Monoid (t b) => t a -> ForEach m a b Unit -> m Unit

#before Source

before :: forall a b m. Monad m => (a -> m Unit) -> ForEach m a b Unit

#each Source

each :: forall a b m. Monad m => (a -> m b) -> ForEach m a b Unit

#inBetween Source

inBetween :: forall a b m. Monad m => (a -> m Unit) -> ForEach m a b Unit

#after Source

after :: forall a b m. Monad m => (a -> m Unit) -> ForEach m a b Unit