stack-1.7.1: The Haskell Tool Stack

Safe HaskellNone
LanguageHaskell2010

Data.Attoparsec.Combinators

Description

More readable combinators for writing parsers.

Synopsis

Documentation

appending :: (Applicative f, Semigroup a) => f a -> f a -> f a #

Concatenate two parsers.

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

Alternative parsers.

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

Pure something.

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

Concatting the result of an action.