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

Safe HaskellNone
LanguageHaskell98

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

Alternative STR 
Monad STR

monadic serialization & deserialization

Functor STR 
MonadPlus STR 
Applicative STR 

(<?>) :: STR a -> String -> STR a infix 0 Source

(<|>) :: STR a -> STR a -> STR a infixr 1 Source

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

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

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

option :: a -> STR a -> STR a Source

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

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

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

try :: STR b -> STR b Source

lexeme :: STR b -> STR b Source

parens :: STR a -> STR a Source

braces :: STR a -> STR a Source

angles :: STR a -> STR a Source

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

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

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

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