Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type T = T StrictTime
- type StrictTime = Integer
- type ShortStrictTime = Int
- type LazyTime = T StrictTime
- subdivideLazy :: C time => T (T time) body -> T time body
- subdivideLazyToShort :: T LazyTime y -> T ShortStrictTime y
- subdivideLongStrict :: T StrictTime y -> T ShortStrictTime y
- chopLongTime :: StrictTime -> [ShortStrictTime]
- longFromShortTime :: ShortStrictTime -> StrictTime
- zipWith :: C time => (a -> b -> c) -> T time a -> T time b -> T time c
Documentation
type T = T StrictTime
type StrictTime = Integer
type ShortStrictTime = Int
type LazyTime = T StrictTime
subdivideLazy :: C time => T (T time) body -> T time body
subdivideLazyToShort :: T LazyTime y -> T ShortStrictTime y
Subdivide lazy times into chunks that fit into the number range
representable by Int
.
subdivideLongStrict :: T StrictTime y -> T ShortStrictTime y
chopLongTime :: StrictTime -> [ShortStrictTime]
Returns a list of non-zero times.