netwire-3.1.0: Fast generic automaton arrow transformer for AFRP

MaintainerErtugrul Soeylemez <es@ertes.de>

Control.Wire.Trans.Exhibit

Contents

Description

Wire transformers for handling inhibited signals.

Synopsis

Exhibition

class Arrow >~ => WExhibit (>~) whereSource

Wire transformers for handling inhibited signals.

Methods

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

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

  • Depends: like argument wire.

exhibit :: 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.

gotEvent :: Wire e >~ a b -> Wire e >~ a BoolSource

Produces True, whenever the argument wire produces, otherwise False.

Instances