stack-2.14.0: The Haskell Tool Stack
Safe HaskellSafe-Inferred
LanguageGHC2021

Data.Attoparsec.Combinators

Description

More readable combinators for writing parsers.

Synopsis

Documentation

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

Alternative parsers.

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

Concatenate two parsers.

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

Concating the result of an action.

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

Pure something.