Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
c'GLFW_OPENGL_ANY_PROFILE :: Num a => abindings-GLFW Bindings.GLFW No documentation available.
encodeMany :: forall (m :: Type -> Type) t . (Coded c, MonadPut m, Foldable t) => t c -> Coding m ()bits Data.Bits.Coded No documentation available.
manyCharacters :: (Char -> Bool) -> ReadP Textburrito Burrito.Internal.Match No documentation available.
-
butcher UI.Butcher.Monadic.Command Specifies whether we accept 0-1 or 0-n for CmdParserParts.
ManyUpperBound1 :: ManyUpperBoundbutcher UI.Butcher.Monadic.Command No documentation available.
ManyUpperBoundN :: ManyUpperBoundbutcher UI.Butcher.Monadic.Command No documentation available.
-
butcher UI.Butcher.Monadic.Command Add part that is not required to occur, and can occur as often as indicated by ManyUpperBound. Must not succeed on empty input.
-
butcher UI.Butcher.Monadic.Command Add part that is not required to occur, and can occur as often as indicated by ManyUpperBound. Must not succeed on empty input. Only difference to addCmdPart is that it accepts Input, i.e. can behave differently for String and [String] input.
PartMany :: PartDesc -> PartDescbutcher UI.Butcher.Monadic.Types No documentation available.
many :: Alternative f => f a -> f [a]cabal-install-solver Distribution.Solver.Compat.Prelude 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.