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.
class
HasConsumes s a | s -> aswagger2 Data.Swagger.Lens No documentation available.
-
swagger2 Data.Swagger.Lens No documentation available.
consumes :: HasConsumes s a => Lens' s aswagger2 Data.Swagger.Lens No documentation available.
-
vector-space Data.AdditiveGroup No documentation available.
inSum :: (a -> b) -> Sum a -> Sum bvector-space Data.AdditiveGroup Application a unary function inside a Sum
inSum2 :: (a -> b -> c) -> Sum a -> Sum b -> Sum cvector-space Data.AdditiveGroup Application a binary function inside a Sum
msum :: (Foldable t, MonadPlus m) => t (m a) -> m abasic-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"
asum :: (Foldable t, Alternative f) => t (f a) -> f abasic-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"
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.
suspendAndResume' :: Ord n => IO a -> EventM n s abrick 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.