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.

  1. many :: ReadP a -> ReadP [a]

    base Text.ParserCombinators.ReadP

    Parses zero or more occurrences of the given parser.

  2. many1 :: ReadP a -> ReadP [a]

    base Text.ParserCombinators.ReadP

    Parses one or more occurrences of the given parser.

  3. manyTill :: ReadP a -> ReadP end -> ReadP [a]

    base Text.ParserCombinators.ReadP

    manyTill p end parses zero or more occurrences of p, until end succeeds. Returns a list of values returned by p.

  4. skipMany :: ReadP a -> ReadP ()

    base Text.ParserCombinators.ReadP

    Like many, but discards the result.

  5. skipMany1 :: ReadP a -> ReadP ()

    base Text.ParserCombinators.ReadP

    Like many1, but discards the result.

  6. Many :: Multiplicity

    base GHC.Base

    No documentation available.

  7. compactContainsAny# :: a -> State# RealWorld -> (# State# RealWorld, Int# #)

    base GHC.Base

    Returns 1# if the object is in any CNF at all, 0# otherwise.

  8. many :: Alternative f => f a -> f [a]

    base GHC.Base

    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.

  9. Many :: Multiplicity

    base GHC.Exts

    No documentation available.

  10. compactContainsAny# :: a -> State# RealWorld -> (# State# RealWorld, Int# #)

    base GHC.Exts

    Returns 1# if the object is in any CNF at all, 0# otherwise.

Page 94 of many | Previous | Next