Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

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

  1. anything :: P s TT

    yi-mode-javascript Yi.Syntax.JavaScript

    General recovery parser, inserts an error token.

  2. 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.

  3. biany :: Bifoldable t => (a -> Bool) -> (b -> Bool) -> t a b -> Bool

    base 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
    

  4. getAny :: Any -> Bool

    base Data.Monoid

    No documentation available.

  5. getAny :: Any -> Bool

    base Data.Semigroup

    No documentation available.

  6. eTOOMANYREFS :: Errno

    base Foreign.C.Error

    No documentation available.

  7. withMany :: (a -> (b -> res) -> res) -> [a] -> ([b] -> res) -> res

    base Foreign.Marshal.Utils

    Replicates a withXXX combinator over a list of objects, yielding a list of marshalled objects

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

    base Text.ParserCombinators.ReadP

    Parses zero or more occurrences of the given parser.

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

    base Text.ParserCombinators.ReadP

    Parses one or more occurrences of the given parser.

  10. 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.

Page 93 of many | Previous | Next