netwire-2.0.1: Generic automaton arrow transformer and useful tools

MaintainerErtugrul Soeylemez <es@ertes.de>

Control.Wire.Trans.Simple

Contents

Description

Simple wire transformers.

Synopsis

Override input

(--<) :: Arrow >~ => Wire e >~ a b -> (a -> a) -> Wire e >~ a bSource

Apply the given function to the input, until the argument wire starts producing.

  • Depends: Like argument wire. * Inhibits: Like argument wire.

(>--) :: Arrow >~ => (a -> a) -> Wire e >~ a b -> Wire e >~ a bSource

Apply the given function to the input, until the argument wire starts producing.

  • Depends: Like argument wire. * Inhibits: Like argument wire.