rhine-0.1.0.0: Functional Reactive Programming with type-level clocks

Safe HaskellNone
LanguageHaskell2010

FRP.Rhine.TimeDomain

Synopsis

Documentation

class TimeDomain td where Source #

A time domain is an affine space representing a notion of time, such as real time, simulated time, steps, or a completely different notion.

Minimal complete definition

diffTime

Associated Types

type Diff td Source #

Methods

diffTime :: td -> td -> Diff td Source #

Instances

TimeDomain Double Source # 

Associated Types

type Diff Double :: * Source #

TimeDomain Float Source # 

Associated Types

type Diff Float :: * Source #

TimeDomain Integer Source # 

Associated Types

type Diff Integer :: * Source #

TimeDomain () Source # 

Associated Types

type Diff () :: * Source #

Methods

diffTime :: () -> () -> Diff () Source #

TimeDomain UTCTime Source # 

Associated Types

type Diff UTCTime :: * Source #

Num a => TimeDomain (NumTimeDomain a) Source # 

Associated Types

type Diff (NumTimeDomain a) :: * Source #