netwire-4.0.7: Flexible wire arrows for FRP

MaintainerErtugrul Soeylemez <es@ertes.de>
Safe HaskellNone

Control.Wire.Prefab.List

Contents

Description

Wires from lists.

Synopsis

Wires from lists

cycleW :: (Monad m, Monoid e) => [b] -> Wire e m a bSource

Produce the values in the given list cycling forever.

  • Inhibits: when the argument list is empty.

list :: (Monad m, Monoid e) => [b] -> Wire e m a bSource

Produce the values in the given list and then inhibit forever.

  • Inhibits: when the list is exhausted.