Safe Haskell | None |
---|---|
Language | Haskell98 |
FRP.Yampa.Conditional
Contents
Documentation
Variable delay
pause :: b -> SF a Bool -> SF a b -> SF a b #
Given a value in an accumulator (b), a predicate signal function (sfC), and a second signal function (sf), pause will produce the accumulator b if sfC input is True, and will transform the signal using sf otherwise. It acts as a pause with an accumulator for the moments when the transformation is paused.