kangaroo-0.1.0: Random access binary combinator parser.

Portabilityto be determined.
Stabilityhighly unstable
MaintainerStephen Tetley <stephen.tetley@gmail.com>

Data.ParserCombinators.KangarooState

Description

Kangaroo parse monad with user state.

Documentation

type Kangaroo st a = GenKangaroo st aSource

parse :: Kangaroo st a -> st -> FilePath -> IO (Either ParseErr a)Source

runKangaroo :: Kangaroo st a -> st -> FilePath -> IO (Either ParseErr a, st)Source

execKangaroo :: Kangaroo st a -> st -> FilePath -> IO stSource

put :: st -> Kangaroo st ()Source

modify :: (st -> st) -> Kangaroo st ()Source

gets :: (st -> a) -> Kangaroo st aSource