Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
pattern
MaybeFinJust# :: Fin# n -> MaybeFin# nnatural-arithmetic Arithmetic.Types No documentation available.
layoutGetJustify :: PangoLayout -> IO Boolpango Graphics.Rendering.Pango Retrieve the justification flag.
- See layoutSetJustify.
layoutSetJustify :: PangoLayout -> Bool -> IO ()pango Graphics.Rendering.Pango Set if text should be stretched to fit width.
- Sets whether or not each complete line should be stretched to fill the entire width of the layout. This stretching is typically done by adding whitespace, but for some scripts (such as Arabic), the justification is done by extending the characters.
- Note that as of Pango 1.4, this functionality is not yet implemented.
layoutGetJustify :: PangoLayout -> IO Boolpango Graphics.Rendering.Pango.Layout Retrieve the justification flag.
- See layoutSetJustify.
layoutSetJustify :: PangoLayout -> Bool -> IO ()pango Graphics.Rendering.Pango.Layout Set if text should be stretched to fit width.
- Sets whether or not each complete line should be stretched to fill the entire width of the layout. This stretching is typically done by adding whitespace, but for some scripts (such as Arabic), the justification is done by extending the characters.
- Note that as of Pango 1.4, this functionality is not yet implemented.
catchJust :: (HasCallStack, MonadCatch m, Exception e) => (e -> Maybe b) -> m a -> (b -> m a) -> m apipes-safe Pipes.Safe A more generalized way of determining which exceptions to catch at run time.
-
pipes-safe Pipes.Safe Flipped catchJust. See Control.Exception's handleJust.
tryJust :: (HasCallStack, MonadCatch m, Exception e) => (e -> Maybe b) -> m a -> m (Either b a)pipes-safe Pipes.Safe A variant of try that takes an exception predicate to select which exceptions are caught. See Control.Exception's tryJust
adjustErr :: Commitment p => p a -> (String -> String) -> p apolyparse Text.ParserCombinators.Poly.Base p adjustErr f applies the transformation f to any error message generated in p, having no effect if p succeeds.
adjustErrBad :: PolyParse p => p a -> (String -> String) -> p apolyparse Text.ParserCombinators.Poly.Base adjustErrBad is just like adjustErr except it also raises the severity of the error.