Module
Signal
- Package
- purescript-signal
- Repository
- bodil/purescript-signal
#dropRepeats Source
dropRepeats :: forall a. Eq a => Signal a -> Signal a
Create a signal which only yields values which aren't equal to the previous value of the input signal.
#dropRepeats' Source
dropRepeats' :: forall a. (Signal a) -> (Signal a)
#flattenArray Source
flattenArray :: forall a. Signal (Array a) -> a -> Signal a
Turns a signal of arrays of items into a signal of each item inside each array, in order.
Like flatten
, but faster.
#squigglyMap Source
squigglyMap :: forall f a b. Functor f => (a -> b) -> f a -> f b
#squigglyApply Source
squigglyApply :: forall f a b. Apply f => f (a -> b) -> f a -> f b
#flippedMap Source
flippedMap :: forall f a b. Functor f => f a -> (a -> b) -> f b