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.
realLength :: HasChars a => a -> Intdoclayout Text.DocLayout Get real length of string, taking into account combining and double-wide characters. Ambiguous characters are treated as width 1.
realLengthNarrowContext :: HasChars a => a -> Intdoclayout Text.DocLayout Get the real length of a string, taking into account combining and double-wide characters. Ambiguous characters are treated as width 1.
realLengthNarrowContextNoShortcut :: HasChars a => a -> Intdoclayout Text.DocLayout Like realLengthNarrowContext, but avoids optimizations (shortcuts). This is exposed for testing, to ensure that the optimizations are safe.
realLengthWideContext :: HasChars a => a -> Intdoclayout Text.DocLayout Get the real length of a string, taking into account combining and double-wide characters. Ambiguous characters are treated as width 2.
realLengthWideContextNoShortcut :: HasChars a => a -> Intdoclayout Text.DocLayout Like realLengthWideContext, but avoids optimizations (shortcuts). This is exposed for testing, to ensure that the optimizations are safe.
-
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.
getGlobalLoggerProvider :: MonadIO m => m LoggerProviderhs-opentelemetry-api OpenTelemetry.Internal.Logs.Core Access the globally configured LoggerProvider. This LoggerProvider is no-op until initialized by the SDK
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.
getGlobalLoggerProvider :: MonadIO m => m LoggerProviderhs-opentelemetry-api OpenTelemetry.Logs.Core Access the globally configured LoggerProvider. This LoggerProvider is no-op until initialized by the SDK
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.