Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
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.
asum :: (Foldable t, Alternative f) => t (f a) -> f aclassy-prelude ClassyPrelude 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"
package
dependent-sum-template Template Haskell code to generate instances of classes in some package Template Haskell code to generate instances of classes in some package, such as GEq and GCompare.
checkSums :: Reproduction a -> [String]elynx-tools ELynx.Tools.Reproduction SHA256 sums of used files.
isEntitySum :: EntityDef -> Boolesqueleto Database.Esqueleto No documentation available.
isEntitySum :: EntityDef -> Boolesqueleto Database.Esqueleto.Experimental No documentation available.
isEntitySum :: EntityDef -> Boolesqueleto Database.Esqueleto.Legacy No documentation available.
unboxedSumBars :: Doc -> SumAlt -> SumArity -> Docghc-lib-parser GHC.Boot.TH.Ppr No documentation available.
absentSumFieldErrorIdKey :: Uniqueghc-lib-parser GHC.Builtin.Names No documentation available.