reflex-0.6.4: Higher-order Functional Reactive Programming

Safe HaskellSafe
LanguageHaskell2010

Reflex.EventWriter.Class

Description

This module defines the EventWriter class.

Synopsis

Documentation

class (Monad m, Semigroup w) => EventWriter t w m | m -> t w where Source #

EventWriter efficiently collects Event values using tellEvent and combines them via Semigroup to provide an Event result.

Methods

tellEvent :: Event t w -> m () Source #

Instances
EventWriter t w m => EventWriter t w (ReaderT r m) Source # 
Instance details

Defined in Reflex.EventWriter.Class

Methods

tellEvent :: Event t w -> ReaderT r m () Source #

(Reflex t, Monad m, Semigroup w) => EventWriter t w (EventWriterT t w m) Source # 
Instance details

Defined in Reflex.EventWriter.Base

Methods

tellEvent :: Event t w -> EventWriterT t w m () Source #

EventWriter t w m => EventWriter t w (QueryT t q m) Source # 
Instance details

Defined in Reflex.Query.Base

Methods

tellEvent :: Event t w -> QueryT t q m () Source #

EventWriter t w m => EventWriter t w (DynamicWriterT t v m) Source # 
Instance details

Defined in Reflex.DynamicWriter.Base

Methods

tellEvent :: Event t w -> DynamicWriterT t v m () Source #