Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
deltaUTC :: Fractional t => Var IO b t Source
Produces "time" deltas using getCurrentTime
and diffUTCTime
.
delta :: (Num t, Fractional t, Monad m) => m a -> (a -> a -> t) -> Var m b t Source
Produces "time" deltas using a monadic computation and a difference function.