Hoogle Search

Within LTS Haskell 24.68 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. loggedMessageThreadContext :: LoggedMessage -> KeyMap Value

    monad-logger-aeson Control.Monad.Logger.Aeson.Internal

    No documentation available.

  2. outputBaseThreadContext :: OutputOptions -> [Pair]

    monad-logger-aeson Control.Monad.Logger.Aeson.Internal

    Allows for setting a "base" thread context, i.e. a set of Pair that will always be present in log messages. If we subsequently use withThreadContext to register some thread context for our messages, if any of the keys in those Pair values overlap with the "base" thread context, then the overlapped Pair values in the "base" thread context will be overridden for the duration of the action provided to withThreadContext. Default: mempty

  3. outputIncludeThreadId :: OutputOptions -> Bool

    monad-logger-aeson Control.Monad.Logger.Aeson.Internal

    Controls whether or not the thread ID is included in each log message's thread context. Default: False

  4. threadContextStore :: Store (KeyMap Value)

    monad-logger-aeson Control.Monad.Logger.Aeson.Internal

    Thread-safe, global Store that captures the thread context of messages. Note that there is a bit of somewhat unavoidable name-overloading here: this binding is called threadContextStore because it stores the thread context (i.e. ThreadContext/MDC from Java land) for messages. It also just so happens that the Store type comes from the context package, which is a package providing thread-indexed storage of arbitrary context values. Please don't hate the player!

  5. class Monad m => MonadReader (m :: Type -> Type)

    monads-tf Control.Monad.Reader

    See examples in Control.Monad.Reader. Note, the partially applied function type (->) r is a simple reader monad. See the instance declaration below.

  6. mapReader :: (a -> b) -> Reader r a -> Reader r b

    monads-tf Control.Monad.Reader

    Transform the value returned by a Reader.

  7. mapReaderT :: (m a -> n b) -> ReaderT r m a -> ReaderT r n b

    monads-tf Control.Monad.Reader

    Transform the computation inside a ReaderT.

  8. runReader :: Reader r a -> r -> a

    monads-tf Control.Monad.Reader

    Runs a Reader and extracts the final value from it. (The inverse of reader.)

  9. runReaderT :: ReaderT r (m :: Type -> Type) a -> r -> m a

    monads-tf Control.Monad.Reader

    No documentation available.

  10. withReader :: (r' -> r) -> Reader r a -> Reader r' a

    monads-tf Control.Monad.Reader

    Execute a computation in a modified environment (a specialization of withReaderT).

Page 672 of many | Previous | Next