RefSerialize-0.3.1.3: Write to and read from ByteStrings maintaining internal memory references

Safe HaskellNone

Data.RefSerialize.Parser

Description

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

Documentation

data STR a Source

Constructors

STR (StatR -> Either Error (StatR, a)) 

Instances

Monad STR

monadic serialization & deserialization

MonadPlus STR 

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

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

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

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

choice :: [STR a] -> STR aSource

option :: a -> STR a -> STR aSource

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

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

try :: STR b -> STR bSource

lexeme :: STR b -> STR bSource

parens :: STR a -> STR aSource

braces :: STR a -> STR aSource

angles :: STR a -> STR aSource

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

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

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

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