Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. realLength :: HasChars a => a -> Int

    doclayout Text.DocLayout

    Get real length of string, taking into account combining and double-wide characters. Ambiguous characters are treated as width 1.

  2. realLengthNarrowContext :: HasChars a => a -> Int

    doclayout Text.DocLayout

    Get the real length of a string, taking into account combining and double-wide characters. Ambiguous characters are treated as width 1.

  3. realLengthNarrowContextNoShortcut :: HasChars a => a -> Int

    doclayout Text.DocLayout

    Like realLengthNarrowContext, but avoids optimizations (shortcuts). This is exposed for testing, to ensure that the optimizations are safe.

  4. realLengthWideContext :: HasChars a => a -> Int

    doclayout Text.DocLayout

    Get the real length of a string, taking into account combining and double-wide characters. Ambiguous characters are treated as width 2.

  5. realLengthWideContextNoShortcut :: HasChars a => a -> Int

    doclayout Text.DocLayout

    Like realLengthWideContext, but avoids optimizations (shortcuts). This is exposed for testing, to ensure that the optimizations are safe.

  6. finallyE :: forall (m :: Type -> Type) e a . Monad m => ExceptT e m a -> ExceptT e m () -> ExceptT e m a

    hasql Hasql.TestingKit.Preludes.Base

    finallyE a b executes computation a followed by computation b, even if a exits early by throwing an exception. In the latter case, the exception is re-thrown after b has been executed.

  7. getGlobalLoggerProvider :: MonadIO m => m LoggerProvider

    hs-opentelemetry-api OpenTelemetry.Internal.Logs.Core

    Access the globally configured LoggerProvider. This LoggerProvider is no-op until initialized by the SDK

  8. setGlobalLoggerProvider :: MonadIO m => LoggerProvider -> m ()

    hs-opentelemetry-api OpenTelemetry.Internal.Logs.Core

    Overwrite the globally configured LoggerProvider. Loggers acquired from the previously installed LoggerProviders will continue to use that LoggerProviders settings.

  9. getGlobalLoggerProvider :: MonadIO m => m LoggerProvider

    hs-opentelemetry-api OpenTelemetry.Logs.Core

    Access the globally configured LoggerProvider. This LoggerProvider is no-op until initialized by the SDK

  10. setGlobalLoggerProvider :: MonadIO m => LoggerProvider -> m ()

    hs-opentelemetry-api OpenTelemetry.Logs.Core

    Overwrite the globally configured LoggerProvider. Loggers acquired from the previously installed LoggerProviders will continue to use that LoggerProviders settings.

Page 468 of many | Previous | Next