Hoogle Search

Within LTS Haskell 24.64 (ghc-9.10.3)

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

  1. LabelJust :: Justification -> Attribute

    graphviz Data.GraphViz.Attributes.Complete

    Valid for: GC; Default: JCenter

  2. NoJustify :: Bool -> Attribute

    graphviz Data.GraphViz.Attributes.Complete

    Valid for: GCNE; Default: False; Parsing Default: True

  3. adjustErr :: Commitment p => p a -> (String -> String) -> p a

    graphviz Data.GraphViz.Parsing

    p adjustErr f applies the transformation f to any error message generated in p, having no effect if p succeeds.

  4. adjustErrBad :: PolyParse p => p a -> (String -> String) -> p a

    graphviz Data.GraphViz.Parsing

    adjustErrBad is just like adjustErr except it also raises the severity of the error.

  5. adjustOption :: IsOption v => (v -> v) -> TestTree -> TestTree

    hledger-lib Hledger.Utils.Test

    Locally adjust the option value for the given test subtree.

  6. isJust :: Maybe a -> Bool

    parameterized-utils Data.Parameterized.Classes

    The isJust function returns True iff its argument is of the form Just _.

    Examples

    Basic usage:
    >>> isJust (Just 3)
    True
    
    >>> isJust (Just ())
    True
    
    >>> isJust Nothing
    False
    
    Only the outer constructor is taken into consideration:
    >>> isJust (Just Nothing)
    True
    

  7. isJust :: Maybe a -> Bool

    basic-prelude CorePrelude

    The isJust function returns True iff its argument is of the form Just _.

    Examples

    Basic usage:
    >>> isJust (Just 3)
    True
    
    >>> isJust (Just ())
    True
    
    >>> isJust Nothing
    False
    
    Only the outer constructor is taken into consideration:
    >>> isJust (Just Nothing)
    True
    

  8. isJust :: Maybe a -> Bool

    classy-prelude ClassyPrelude

    The isJust function returns True iff its argument is of the form Just _.

    Examples

    Basic usage:
    >>> isJust (Just 3)
    True
    
    >>> isJust (Just ())
    True
    
    >>> isJust Nothing
    False
    
    Only the outer constructor is taken into consideration:
    >>> isJust (Just Nothing)
    True
    

  9. adjust :: (MonadIO m, MonadMask m) => Store ctx -> (ctx -> ctx) -> m a -> m a

    context Context

    Adjust the calling thread's context in the specified Store for the duration of the specified action. Throws a NotFoundException when the calling thread has no registered context.

  10. withAdjusted :: (MonadIO m, MonadMask m) => Store ctx -> (ctx -> ctx) -> (ctx -> m a) -> m a

    context Context

    Convenience function to adjust the context then supply the adjusted context to the inner action. This function is equivalent to calling adjust and then immediately calling mine in the inner action of adjust, e.g.:

    doStuff :: Store Thing -> (Thing -> Thing) -> IO ()
    doStuff store f = do
    adjust store f do
    adjustedThing <- mine store
    ...
    
    Throws a NotFoundException when the calling thread has no registered context.

Page 42 of many | Previous | Next