Safe Haskell | None |
---|---|

Language | Haskell98 |

This module defines the `EventWriter`

class.

## Synopsis

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

# 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.

## Instances

EventWriter t w m => EventWriter t w (ReaderT r m) Source # | |

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

Defined in Reflex.EventWriter.Base tellEvent :: Event t w -> EventWriterT t w m () Source # | |

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

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

Defined in Reflex.DynamicWriter.Base tellEvent :: Event t w -> DynamicWriterT t v m () Source # |