netwire-3.1.0: Fast generic automaton arrow transformer for AFRP

MaintainerErtugrul Soeylemez <es@ertes.de>

Control.Wire.Prefab.Sample

Contents

Description

Signal sampling wires.

Synopsis

Simple samplers

class Arrow >~ => WDiscrete t (>~) | >~ -> t whereSource

Sample the right signal at discrete intervals given by the left input signal.

  • Depends: Current instant (left), last sampling instant (right).

Methods

discrete :: Wire e >~ (t, b) bSource

Instances

keep :: WirePure >~ => Wire e >~ b bSource

Keep the signal in the first instant forever.

  • Depends: First instant.