netwire-4.0.5: Flexible wire arrows for FRP

MaintainerErtugrul Soeylemez <es@ertes.de>
Safe HaskellNone

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 aSource

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 aSource

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

  • Depends: current instant.

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

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

  • Depends: current instant.