Hoogle Search

Within LTS Haskell 24.46 (ghc-9.10.3)

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

  1. many :: forall s u (m :: Type -> Type) a . ParsecT s u m a -> ParsecT s u m [a]

    pandoc Text.Pandoc.Parsing

    many p applies the parser p zero or more times. Returns a list of the returned values of p.

    identifier  = do{ c  <- letter
    ; cs <- many (alphaNum <|> char '_')
    ; return (c:cs)
    }
    

  2. many1 :: forall s u (m :: Type -> Type) a . ParsecT s u m a -> ParsecT s u m [a]

    pandoc Text.Pandoc.Parsing

    many1 p applies the parser p one or more times. Returns a list of the returned values of p.

    word  = many1 letter
    

  3. many1Char :: forall s (m :: Type -> Type) t st . Stream s m t => ParsecT s st m Char -> ParsecT s st m Text

    pandoc Text.Pandoc.Parsing

    Like many1, but packs its result.

  4. many1Till :: forall end s (m :: Type -> Type) t st a . (Show end, Stream s m t) => ParsecT s st m a -> ParsecT s st m end -> ParsecT s st m [a]

    pandoc Text.Pandoc.Parsing

    Like manyTill, but reads at least one item.

  5. many1TillChar :: forall end s (m :: Type -> Type) t st . (Show end, Stream s m t) => ParsecT s st m Char -> ParsecT s st m end -> ParsecT s st m Text

    pandoc Text.Pandoc.Parsing

    Like many1Till, but packs its result

  6. manyChar :: forall s (m :: Type -> Type) t st . Stream s m t => ParsecT s st m Char -> ParsecT s st m Text

    pandoc Text.Pandoc.Parsing

    Like many, but packs its result.

  7. manyTill :: forall s (m :: Type -> Type) t u a end . Stream s m t => ParsecT s u m a -> ParsecT s u m end -> ParsecT s u m [a]

    pandoc Text.Pandoc.Parsing

    manyTill p end applies parser p zero or more times until parser end succeeds. Returns the list of values returned by p. This parser can be used to scan comments:

    simpleComment   = do{ string "<!--"
    ; manyTill anyChar (try (string "-->"))
    }
    
    Note the overlapping parsers anyChar and string "-->", and therefore the use of the try combinator.

  8. manyTillChar :: forall s (m :: Type -> Type) t st a . Stream s m t => ParsecT s st m Char -> ParsecT s st m a -> ParsecT s st m Text

    pandoc Text.Pandoc.Parsing

    Like manyTill, but packs its result.

  9. manyUntil :: forall s u (m :: Type -> Type) a b . ParsecT s u m a -> ParsecT s u m b -> ParsecT s u m ([a], b)

    pandoc Text.Pandoc.Parsing

    Like manyTill, but also returns the result of end parser.

  10. manyUntilChar :: forall s u (m :: Type -> Type) b . ParsecT s u m Char -> ParsecT s u m b -> ParsecT s u m (Text, b)

    pandoc Text.Pandoc.Parsing

    Like manyUntil, but also packs its result.

Page 139 of many | Previous | Next