Hoogle Search

Within LTS Haskell 24.46 (ghc-9.10.3)

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

  1. class HasConsumes s a | s -> a

    swagger2 Data.Swagger.Lens

    No documentation available.

  2. class HasSummary s a | s -> a

    swagger2 Data.Swagger.Lens

    No documentation available.

  3. consumes :: HasConsumes s a => Lens' s a

    swagger2 Data.Swagger.Lens

    No documentation available.

  4. getSum :: Sum a -> a

    vector-space Data.AdditiveGroup

    No documentation available.

  5. inSum :: (a -> b) -> Sum a -> Sum b

    vector-space Data.AdditiveGroup

    Application a unary function inside a Sum

  6. inSum2 :: (a -> b -> c) -> Sum a -> Sum b -> Sum c

    vector-space Data.AdditiveGroup

    Application a binary function inside a Sum

  7. msum :: (Foldable t, MonadPlus m) => t (m a) -> m a

    basic-prelude BasicPrelude

    The sum of a collection of actions using (<|>), generalizing concat. msum is just like asum, but specialised to MonadPlus.

    Examples

    Basic usage, using the MonadPlus instance for Maybe:
    >>> msum [Just "Hello", Nothing, Just "World"]
    Just "Hello"
    

  8. asum :: (Foldable t, Alternative f) => t (f a) -> f a

    basic-prelude CorePrelude

    The sum of a collection of actions using (<|>), generalizing concat. asum is just like msum, but generalised to Alternative.

    Examples

    Basic usage:
    >>> asum [Just "Hello", Nothing, Just "World"]
    Just "Hello"
    

  9. suspendAndResume :: Ord n => IO s -> EventM n s ()

    brick Brick.Main

    Suspend the event loop, save the terminal state, and run the specified action. When it returns an application state value, restore the terminal state, empty the rendering cache, update the application state with the returned state, and continue execution of the event handler that called this. Note that any changes made to the terminal's input state are ignored when Brick resumes execution and are not preserved in the final terminal input state after the Brick application returns the terminal to the user.

  10. suspendAndResume' :: Ord n => IO a -> EventM n s a

    brick Brick.Main

    Suspend the event loop, save the terminal state, and run the specified action. When it completes, restore the terminal state, empty the rendering cache, return the result, and continue execution of the event handler that called this. Note that any changes made to the terminal's input state are ignored when Brick resumes execution and are not preserved in the final terminal input state after the Brick application returns the terminal to the user.

Page 132 of many | Previous | Next