Yampa-0.10.7: Library for programming hybrid systems.

Safe HaskellNone
LanguageHaskell98

FRP.Yampa.Conditional

Contents

Synopsis

Documentation

provided :: (a -> Bool) -> SF a b -> SF a b -> SF a b Source #

Variable delay

pause :: b -> SF a Bool -> SF a b -> SF a b Source #

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.