netwire-4.0.0: Flexible wire arrows for FRP

Copyright(c) 2012 Ertugrul Soeylemez
LicenseBSD3
MaintainerErtugrul Soeylemez <es@ertes.de>
Safe HaskellNone
LanguageHaskell2010

Control.Wire.Prefab.Simple

Contents

Description

Basic wires.

Synopsis

Basic signal manipulation

append :: Monad m => Wire e m a b -> Wire e m a (a, b) Source

Convenience function to add another signal.

  • Depends: current instant.

delay :: a -> Wire e m a a Source

One-instant delay.

  • Depends: Previous instant.

prepend :: Monad m => Wire e m a b -> Wire e m a (b, a) Source

Convenience function to add another signal.

  • Depends: current instant.

Forcing evaluation

force :: Wire e m a a Source

Acts like the identity wire, but forces evaluation of the signal to WHNF.

  • Depends: current instant.

forceNF :: NFData a => Wire e m a a Source

Acts like the identity wire, but forces evaluation of the signal to NF.

  • Depends: current instant.