trifecta-0.52: A modern parser combinator library with convenient diagnostics

Portabilitynon-portable
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellSafe-Infered

Text.Trifecta.Parser.Step

Description

 

Documentation

data Step e a Source

Constructors

StepDone !Rope !(Seq (Diagnostic e)) a 
StepFail !Rope !(Seq (Diagnostic e)) 
StepCont !Rope (Result e a) (Rope -> Step e a) 

Instances

Bifunctor Step 
Functor (Step e) 
(Show e, Show a) => Show (Step e a) 

feed :: Reducer t Rope => t -> Step e r -> Step e rSource

starve :: Step e a -> Result e aSource

stepResult :: Rope -> Result e a -> Step e aSource