Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data UTCTime :: *
- class Monad m => MonadTime m where
- currentTime :: m UTCTime
- class MonadTime m => MonadLog m where
- logAttention :: MonadLog m => String -> Value -> m ()
- logInfo :: MonadLog m => String -> Value -> m ()
- logTrace :: MonadLog m => String -> Value -> m ()
- logAttention_ :: MonadLog m => String -> m ()
- logInfo_ :: MonadLog m => String -> m ()
- logTrace_ :: MonadLog m => String -> m ()
Documentation
data UTCTime :: *
This is the simplest representation of UTC. It consists of the day number, and a time offset from midnight. Note that if a day has a leap second added to it, it will have 86401 seconds.
class Monad m => MonadTime m where
Class of monads which carry the notion of the current time.
currentTime :: m UTCTime
class MonadTime m => MonadLog m where Source
Represents the family of monads with logging capabilities.
logAttention :: MonadLog m => String -> Value -> m () Source
logAttention_ :: MonadLog m => String -> m () Source