Module
Signal.Effect
- Package
- purescript-signal
- Repository
- bodil/purescript-signal
#foldEffect Source
foldEffect :: forall b a. (a -> b -> Effect b) -> b -> (Signal a) -> Effect (Signal b)
Creates a past dependent signal with an effectful computation. The function
argument takes the value of the input signal, and the previous value of the
output signal, to produce the new value of the output signal wraped inside an
Effect
action.