| Copyright | (c) 2013 Ertugrul Soeylemez |
|---|---|
| License | BSD3 |
| Maintainer | Ertugrul Soeylemez <es@ertes.de> |
| Safe Haskell | None |
| Language | Haskell2010 |
Control.Wire
Description
- module Control.Wire.Core
- module Control.Wire.Event
- module Control.Wire.Interval
- module Control.Wire.Run
- module Control.Wire.Session
- module Control.Wire.Switch
- module Control.Wire.Time
- type WireP s e = Wire s e Identity
- type SimpleWire = Wire (Timed NominalDiffTime ()) () Identity
- module Control.Applicative
- module Control.Arrow
- module Control.Category
- module Data.Semigroup
- newtype Identity a :: * -> * = Identity {
- runIdentity :: a
- data NominalDiffTime :: *
Reexports
module Control.Wire.Core
module Control.Wire.Event
module Control.Wire.Interval
module Control.Wire.Run
module Control.Wire.Session
module Control.Wire.Switch
module Control.Wire.Time
Convenient type aliases
type SimpleWire = Wire (Timed NominalDiffTime ()) () Identity Source #
Simple wires with time.
External
module Control.Applicative
module Control.Arrow
module Control.Category
module Data.Semigroup
newtype Identity a :: * -> * #
Identity functor and monad. (a non-strict monad)
Since: 4.8.0.0
Constructors
| Identity | |
Fields
| |
Instances
| Monad Identity | Since: 4.8.0.0 |
| Functor Identity | Since: 4.8.0.0 |
| MonadFix Identity | Since: 4.8.0.0 |
| Applicative Identity | Since: 4.8.0.0 |
| Foldable Identity | Since: 4.8.0.0 |
| Traversable Identity | |
| Eq1 Identity | Since: 4.9.0.0 |
| Ord1 Identity | Since: 4.9.0.0 |
| Read1 Identity | Since: 4.9.0.0 |
| Show1 Identity | Since: 4.9.0.0 |
| NFData1 Identity | Since: 1.4.3.0 |
| Bounded a => Bounded (Identity a) | |
| Enum a => Enum (Identity a) | |
| Eq a => Eq (Identity a) | |
| Floating a => Floating (Identity a) | |
| Fractional a => Fractional (Identity a) | |
| Integral a => Integral (Identity a) | |
| Data a => Data (Identity a) | Since: 4.9.0.0 |
| Num a => Num (Identity a) | |
| Ord a => Ord (Identity a) | |
| Read a => Read (Identity a) | This instance would be equivalent to the derived instances of the
Since: 4.8.0.0 |
| Real a => Real (Identity a) | |
| RealFloat a => RealFloat (Identity a) | |
| RealFrac a => RealFrac (Identity a) | |
| Show a => Show (Identity a) | This instance would be equivalent to the derived instances of the
Since: 4.8.0.0 |
| Ix a => Ix (Identity a) | |
| IsString a => IsString (Identity a) | |
| Generic (Identity a) | |
| Semigroup a => Semigroup (Identity a) | Since: 4.9.0.0 |
| Monoid a => Monoid (Identity a) | |
| Storable a => Storable (Identity a) | |
| Bits a => Bits (Identity a) | |
| FiniteBits a => FiniteBits (Identity a) | |
| NFData a => NFData (Identity a) | Since: 1.4.0.0 |
| Generic1 * Identity | |
| type Rep (Identity a) | |
| type Rep1 * Identity | |
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.