Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- 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 Source #
type StrictTime = Integer Source #
type ShortStrictTime = Int Source #
type LazyTime = T StrictTime Source #
subdivideLazyToShort :: T LazyTime y -> T ShortStrictTime y Source #
Subdivide lazy times into chunks that fit into the number range
representable by Int
.
subdivideLongStrict :: T StrictTime y -> T ShortStrictTime y Source #
chopLongTime :: StrictTime -> [ShortStrictTime] Source #
Returns a list of non-zero times.