fixhs-0.1.4: FIX (co)parser

Safe HaskellSafe-Inferred

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

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