RefSerialize-0.2.8.1: Write to and read from Strings maintaining internal memory references

Safe HaskellSafe-Infered

Data.RefSerialize.Parser

Description

A Parsec parser for the refSerialize monad. See package Parsec. all the functions have the same meaning

Documentation

data ST a Source

Constructors

ST (Stat -> Either Error (Stat, a)) 

Instances

Monad ST

monadic serialization & deserialization

MonadPlus ST 

(<?>) :: ST a -> String -> ST aSource

(<|>) :: ST a -> ST a -> ST aSource

sepBy :: ST a -> ST sep -> ST [a]Source

between :: Monad m => m a -> m a1 -> m b -> m bSource

choice :: [ST a] -> ST aSource

option :: a -> ST a -> ST aSource

notFollowedBy :: Show t => ST t -> ST ()Source

many :: ST a -> ST [a]Source

manyTill :: ST a1 -> ST a -> ST [a1]Source

lexeme :: ST b -> ST bSource

parens :: ST a -> ST aSource

braces :: ST a -> ST aSource

angles :: ST a -> ST aSource

brackets :: ST a -> ST aSource

semiSep :: ST a -> ST [a]Source

semiSep1 :: ST a -> ST [a]Source

commaSep :: ST a -> ST [a]Source

commaSep1 :: ST a -> ST [a]Source