uu-parsinglib-2.3.4: New version of the Utrecht University parser combinator library

Text.ParserCombinators.UU.BasicInstances

Documentation

data Error t s pos Source

Constructors

Inserted s pos Strings 
Deleted t pos Strings 
DeletedAtEnd t 

Instances

Stores (Str a) [Error a a Int] 
(Show t, Show s, Show pos) => Show (Error t s pos) 

data Str t Source

Constructors

Str 

Fields

input :: [t]
 
msgs :: [Error t t Int]
 
pos :: !Int
 
deleteOk :: !Bool
 

Instances

Eof (Str a) 
(Eq a, Show a) => Provides (Str a) a a 
Stores (Str a) [Error a a Int] 
Show a => Provides (Str a) (Munch a) [a] 
(Ord a, Show a) => Provides (Str a) (a, a) a 
Show a => Provides (Str a) (a -> Bool, String, a) a 

data Munch a Source

Constructors

Munch (a -> Bool) 

Instances

Show a => Provides (Str a) (Munch a) [a] 

pMunch :: Symbol p (Munch a) [a] => (a -> Bool) -> p [a]Source