netwire-5.0.1: Functional reactive programming library

Copyright(c) 2013 Ertugrul Soeylemez
LicenseBSD3
MaintainerErtugrul Soeylemez <es@ertes.de>
Safe HaskellNone
LanguageHaskell2010

Control.Wire

Contents

Description

 

Synopsis

Reexports

Convenient type aliases

type WireP s e = Wire s e Identity Source

Pure wires.

type SimpleWire = Wire (Timed NominalDiffTime ()) () Identity Source

Simple wires with time.

External

newtype Identity a :: * -> *

Identity functor and monad.

Constructors

Identity 

Fields

runIdentity :: a
 

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.