netwire-5.0.0: Functional reactive programming library

MaintainerErtugrul Soeylemez <es@ertes.de>
Safe HaskellNone

Control.Wire

Contents

Description

 

Synopsis

Reexports

Convenient type aliases

type WireP s e = Wire s e IdentitySource

Pure wires.

type SimpleWire = Wire (Timed NominalDiffTime ()) () IdentitySource

Simple wires with time.

External

data NominalDiffTime

This is a length of time, as measured by UTC. Conversion functions will treat it as seconds. It has a precision of 10^-12 s. It ignores leap-seconds, so it's not necessarily a fixed amount of clock time. For instance, 23:00 UTC + 2 hours of NominalDiffTime = 01:00 UTC (+ 1 day), regardless of whether a leap-second intervened.