Module

Impulse.Util.Rebuildable

Package
purescript-impulse
Repository
mitchdzugan/purescript-impulse

#rebuildABy Source

rebuildABy :: forall b a. (a -> Array b) -> Array a -> Array b

#Rebuildable Source

class Rebuildable f  where

Members

Instances

#arrayOfLeft Source

arrayOfLeft :: forall b a. Either a b -> Array a

#arrayOfRight Source

arrayOfRight :: forall b a. Either a b -> Array b

#arrayOfMaybe Source

arrayOfMaybe :: forall a. Maybe a -> Array a

#lowerBy Source

lowerBy :: forall b a f. Rebuildable f => (a -> Maybe b) -> f a -> f b

#lower Source

lower :: forall a f. Rebuildable f => f (Maybe a) -> f a

#partition Source

partition :: forall c b f. Rebuildable f => f (Either b c) -> { left :: f b, right :: f c }

#partitionBy Source

partitionBy :: forall c b a f. Rebuildable f => (a -> Either b c) -> f a -> { left :: f b, right :: f c }