Module

Specular.FRP.Replaceable

Package
purescript-specular
Repository
restaumatic/purescript-specular

#dynamic_ Source

dynamic_ :: forall m. MonadReplace m => MonadFRP m => Dynamic (m Unit) -> m Unit

#withDynamic_ Source

withDynamic_ :: forall m a. MonadReplace m => MonadFRP m => Dynamic a -> (a -> m Unit) -> m Unit

#dynamic Source

dynamic :: forall m a. MonadReplace m => MonadFRP m => Dynamic (m a) -> m (Dynamic a)

#weakDynamic_ Source

weakDynamic_ :: forall m. MonadReplace m => MonadFRP m => WeakDynamic (m Unit) -> m Unit

#weakDynamic Source

weakDynamic :: forall m a. MonadReplace m => MonadFRP m => WeakDynamic (m a) -> m (WeakDynamic a)

#whenJustD Source

whenJustD :: forall m a. MonadReplace m => MonadFRP m => Dynamic (Maybe a) -> (Dynamic a -> m Unit) -> m Unit

#whenD Source

whenD :: forall m. MonadFRP m => MonadReplace m => Dynamic Boolean -> m Unit -> m Unit

Execute a monadic action in a Replaceable monad only if the given Dynamic has value true.

#unlessD Source

unlessD :: forall m. MonadFRP m => MonadReplace m => Dynamic Boolean -> m Unit -> m Unit

Execute a monadic action in a Replaceable monad only if the given Dynamic has value true.