Copyright | (c) 2017 Ertugrul Söylemez |
---|---|

License | BSD3 |

Maintainer | Ertugrul Söylemez <esz@posteo.de> |

Stability | experimental |

Safe Haskell | None |

Language | Haskell2010 |

# Wires

`Wire`

is a language for defining reactive systems. It is similar
to the underlying monad `m`

, but runs continuously.

Monad m => Arrow (Wire m) Source # | |

Monad m => ArrowChoice (Wire m) Source # | |

MonadFix m => ArrowLoop (Wire m) Source # | |

Applicative m => Choice (Wire m) Source # | |

Functor m => Strong (Wire m) Source # | |

MonadFix m => Costrong (Wire m) Source # | |

Functor m => Profunctor (Wire m) Source # | |

Monad m => Category * (Wire m) Source # | |

Functor m => Functor (Wire m a) Source # | |

Applicative m => Applicative (Wire m a) Source # | |

delayW :: Functor m => b -> Wire m a b -> Wire m a b Source #

Delay the result of the given wire by one frame.

# Events

An event is a timestamped stream of occurrences with payloads of the given type.