parsley-core-2.3.0.0: A fast parser combinator library backed by Typed Template Haskell
LicenseBSD-3-Clause
MaintainerJamie Willis
Stabilityexperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

Parsley.Internal.Frontend.Optimiser

Description

Exposes the optimise algebra, which is used for optimisations based on the laws of parsers.

Since: 1.0.0.0

Synopsis

Documentation

optimise :: (?flags :: Flags) => Combinator (Fix Combinator) a -> Fix Combinator a Source #

Optimises a Combinator tree according to the various laws of parsers. See the source for which laws are being utilised.

Since: 1.0.0.0