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)
Create a signal which only yields values which aren't equal to the previous
value of the input signal, using JavaScript's !==
operator to determine
disequality.
#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 b a f. Functor f => (a -> b) -> f a -> f b
#squigglyApply Source
squigglyApply :: forall b a f. Apply f => f (a -> b) -> f a -> f b
#flippedMap Source
flippedMap :: forall b a f. Functor f => f a -> (a -> b) -> f b