Hoogle Search
Within LTS Haskell 24.65 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
ffor2 :: Applicative f => f a -> f b -> (a -> b -> c) -> f creflex Reflex.Class Rotated version of liftA2.
ffor3 :: Applicative f => f a -> f b -> f c -> (a -> b -> c -> d) -> f dreflex Reflex.Class Rotated version of liftA3.
fforMaybe :: Filterable f => f a -> (a -> Maybe b) -> f breflex Reflex.Class Flipped version of mapMaybe.
newtype
PerformEventT t (m :: k) areflex Reflex.PerformEvent.Base Provides a basic implementation of PerformEvent. Note that, despite the name, PerformEventT is not an instance of MonadTrans.
PerformEventT :: RequesterT t (HostFrame t) Identity (HostFrame t) a -> PerformEventT t (m :: k) areflex Reflex.PerformEvent.Base No documentation available.
-
reflex Reflex.PerformEvent.Base Run a PerformEventT action, returning a FireCommand that allows the caller to trigger Events while ensuring that performEvent actions are run at the appropriate time.
unPerformEventT :: PerformEventT t (m :: k) a -> RequesterT t (HostFrame t) Identity (HostFrame t) areflex Reflex.PerformEvent.Base No documentation available.
class (Reflex t, Monad Performable m, Monad m) =>
PerformEvent t (m :: Type -> Type) | m -> treflex Reflex.PerformEvent.Class PerformEvent represents actions that can trigger other actions based on Events.
performEvent :: PerformEvent t m => Event t (Performable m a) -> m (Event t a)reflex Reflex.PerformEvent.Class Perform the action contained in the given Event whenever the Event fires. Return the result in another Event. Note that the output Event will generally occur later than the input Event, since most Performable actions cannot be performed during Event propagation.
-
reflex Reflex.PerformEvent.Class Like performEvent, but the resulting Event occurs only when the callback (a -> IO ()) is called, not when the included action finishes. NOTE: Despite the name, performEventAsync does not run its action in a separate thread - although the action is free to invoke forkIO and then call the callback whenever it is ready. This will work properly, even in GHCJS (which fully implements concurrency even though JavaScript does not have built in concurrency).