stack-1.0.4.3: The Haskell Tool Stack

Safe HaskellSafe
LanguageHaskell2010

Data.Attoparsec.Combinators

Description

More readable combinators for writing parsers.

Synopsis

Documentation

appending :: (Applicative f, Monoid a) => f a -> f a -> f a Source

Concatenate two parsers.

alternating :: Alternative f => f a -> f a -> f a Source

Alternative parsers.

pured :: (Applicative g, Applicative f) => g a -> g (f a) Source

Pure something.

concating :: (Monoid m, Applicative f) => f [m] -> f m Source

Concatting the result of an action.