time-machine
time-machine copied to clipboard
Add support for nested `TimeMachineT`
My usecase: I want to stop time and then advance time on top of it
It seems like changing instance (MonadIO m) => MonadTime (TimeMachineT m)
into instance (MonadTime
m) => MonadTime (TimeMachineT m)would do that. Also using instead of time passed
realCurr <- liftIO T.getCurrentTimea pair of original time and time passed which will be implemented by any
MonadTime` instance. Could write PR on that.