haskell / time

A time library
http://hackage.haskell.org/package/time
Other
119 stars 79 forks source link

getCurrentTime :: (MonadIO m) => m UTCTime #167

Closed yaitskov closed 3 years ago

yaitskov commented 3 years ago

Why not make getCurrentTime monad more flexible?

AshleyYakeley commented 3 years ago

I'm following the example of base and elsewhere in using IO.