Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
xmonad-contrib XMonad.Config.Prime No documentation available.
-
xmonad-contrib XMonad.Config.Prime No documentation available.
-
xmonad-contrib XMonad.Config.Prime No documentation available.
-
yi-mode-javascript Yi.Syntax.JavaScript General recovery parser, inserts an error token.
many :: Alternative f => f a -> f [a]base Control.Applicative Zero or more.
Examples
>>> many (putStr "la") lalalalalalalalala... * goes on forever *
>>> many Nothing Just []
>>> take 5 <$> many (Just 1) * hangs forever *
Note that this function can be used with Parsers based on Applicatives. In that case many parser will attempt to parse parser zero or more times until it fails.biany :: Bifoldable t => (a -> Bool) -> (b -> Bool) -> t a b -> Boolbase Data.Bifoldable Determines whether any element of the structure satisfies its appropriate predicate argument. Empty structures yield False.
Examples
Basic usage:>>> biany even isDigit (27, 't') False
>>> biany even isDigit (27, '8') True
>>> biany even isDigit (26, 't') True
>>> biany even isDigit (Left 27) False
>>> biany even isDigit (Left 26) True
>>> biany even isDigit (BiList [27, 53] ['t', '8']) True
Empty structures yield False:>>> biany even isDigit (BiList [] []) False
-
base Data.Monoid No documentation available.
-
base Data.Semigroup No documentation available.
-
base Foreign.C.Error No documentation available.
withMany :: (a -> (b -> res) -> res) -> [a] -> ([b] -> res) -> resbase Foreign.Marshal.Utils Replicates a withXXX combinator over a list of objects, yielding a list of marshalled objects