fixhs-0.1.3: FIX (co)parser

Data.LookupTable

Documentation

class Ord k => LookupTable k v t | t -> k, t -> v whereSource

Methods

new :: tSource

lookup :: k -> t -> Maybe vSource

insert :: k -> v -> t -> tSource

toList :: t -> [(k, v)]Source

fromList :: [(k, v)] -> tSource

Instances

LookupTable Int v (IntMap v) 
LookupTable Int a (ListOfTags a) 
LookupTable Int a (ListOfValues a) 
Ord k => LookupTable k v [(k, v)] 
LookupTable ByteString a (ListOfMessages a) 
Ord k => LookupTable k v (Map k v)