Hoogle Search

Within LTS Haskell 24.56 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

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

    graphviz Data.GraphViz.Parsing

    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.

  2. many1 :: PolyParse p => p a -> p [a]

    graphviz Data.GraphViz.Parsing

    Parse a non-empty list of items.

  3. many1Satisfy :: (Char -> Bool) -> Parser s Text

    graphviz Data.GraphViz.Parsing

    many1Satisfy p is a more efficient fused version of many1 (satisfy p)

  4. manyFinally :: PolyParse p => p a -> p z -> p [a]

    graphviz Data.GraphViz.Parsing

    manyFinally e t parses a possibly-empty sequence of e's, terminated by a t. The final t is discarded. Any parse failures could be due either to a badly-formed terminator or a badly-formed element, so it raises both possible errors.

  5. manyFinally' :: (PolyParse p, Show a) => p a -> p z -> p [a]

    graphviz Data.GraphViz.Parsing

    manyFinally' is like manyFinally, except when the terminator parser overlaps with the element parser. In manyFinally e t, the parser t is tried only when parser e fails, whereas in manyFinally' e t, the parser t is always tried first, then parser e only if the terminator is not found. For instance, manyFinally (accept "01") (accept "0") on input "0101010" returns ["01","01","01"], whereas manyFinally' with the same arguments and input returns [].

  6. manySatisfy :: (Char -> Bool) -> Parser s Text

    graphviz Data.GraphViz.Parsing

    manySatisfy p is a more efficient fused version of many (satisfy p)

  7. decomposeAny :: Ord n => DotGraph n -> Maybe (Context n, DotGraph n)

    graphviz Data.GraphViz.Types.Graph

    As with decompose, but do not specify which node to decompose.

  8. spanYears :: DateSpan -> [Year]

    hledger-lib Hledger.Data.Dates

    Get the 0-2 years mentioned explicitly in a DateSpan.

  9. data TooManyRedirects

    http-streams Network.Http.Client

    No documentation available.

  10. fromAny :: forall a (k :: TypeCategory) (s :: Stage) . FromCategory a ANY k => a ANY s -> Maybe (a k s)

    morpheus-graphql-core Data.Morpheus.Types.Internal.AST

    No documentation available.

Page 147 of many | Previous | Next