netwire-2.0.1: Generic automaton arrow transformer and useful tools

MaintainerErtugrul Soeylemez <es@ertes.de>

Control.Wire.Trans.Exhibit

Contents

Description

Wire transformers for handling inhibited signals.

Synopsis

Exhibition

event :: Arrow >~ => Wire e >~ a b -> Wire e >~ a (Maybe b)Source

Produces Just, whenever the argument wire produces, otherwise Nothing.

  • Depends: like argument wire.

exhibit :: Arrow >~ => Wire e >~ a b -> Wire e >~ a (Either e b)Source

Produces Right, whenever the argument wire produces, otherwise Left with the inhibition value.

  • Depends: like argument wire.