netwire-3.1.0: Fast generic automaton arrow transformer for AFRP

MaintainerErtugrul Soeylemez <es@ertes.de>

Control.Wire.Tools

Contents

Description

Utilities for creating wires.

Synopsis

Arrow tools

distA :: forall a b (>~). Arrow >~ => [a >~ b] -> a >~ [b]Source

Distribute an input value over a list of arrow computations and collect the results.

mapA :: ArrowChoice >~ => (a >~ b) -> [a] >~ [b]Source

Lift an arrow computation to lists of values.

Utility functions

dup :: a -> (a, a)Source

Duplicate a value into a tuple.