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' :: MonadPlus m => m a -> m [a]

    attoparsec Data.Attoparsec.ByteString.Lazy

    many' p applies the action p zero or more times. Returns a list of the returned values of p. The value returned by p is forced to WHNF.

    word  = many' letter
    

  2. many1 :: Alternative f => f a -> f [a]

    attoparsec Data.Attoparsec.ByteString.Lazy

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

    word  = many1 letter
    

  3. many1' :: MonadPlus m => m a -> m [a]

    attoparsec Data.Attoparsec.ByteString.Lazy

    many1' p applies the action p one or more times. Returns a list of the returned values of p. The value returned by p is forced to WHNF.

    word  = many1' letter
    

  4. manyTill :: Alternative f => f a -> f b -> f [a]

    attoparsec Data.Attoparsec.ByteString.Lazy

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

    simpleComment   = string "<!--" *> manyTill anyChar (string "-->")
    
    (Note the overlapping parsers anyChar and string "-->". While this will work, it is not very efficient, as it will cause a lot of backtracking.)

  5. manyTill' :: MonadPlus m => m a -> m b -> m [a]

    attoparsec Data.Attoparsec.ByteString.Lazy

    manyTill' p end applies action p zero or more times until action end succeeds, and returns the list of values returned by p. This can be used to scan comments:

    simpleComment   = string "<!--" *> manyTill' anyChar (string "-->")
    
    (Note the overlapping parsers anyChar and string "-->". While this will work, it is not very efficient, as it will cause a lot of backtracking.) The value returned by p is forced to WHNF.

  6. skipMany :: Alternative f => f a -> f ()

    attoparsec Data.Attoparsec.ByteString.Lazy

    Skip zero or more instances of an action.

  7. skipMany1 :: Alternative f => f a -> f ()

    attoparsec Data.Attoparsec.ByteString.Lazy

    Skip one or more instances of an action.

  8. many' :: MonadPlus m => m a -> m [a]

    attoparsec Data.Attoparsec.Combinator

    many' p applies the action p zero or more times. Returns a list of the returned values of p. The value returned by p is forced to WHNF.

    word  = many' letter
    

  9. many1 :: Alternative f => f a -> f [a]

    attoparsec Data.Attoparsec.Combinator

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

    word  = many1 letter
    

  10. many1' :: MonadPlus m => m a -> m [a]

    attoparsec Data.Attoparsec.Combinator

    many1' p applies the action p one or more times. Returns a list of the returned values of p. The value returned by p is forced to WHNF.

    word  = many1' letter
    

Page 98 of many | Previous | Next