TrieMap-1.5.0: Automatic type inference of generalized tries with Template Haskell.

Data.TrieMap.Representation.TH

Synopsis

Documentation

genRepr :: Name -> Q [Dec]Source

Given the name of a type constructor, automatically generates an efficient Repr instance.

genOrdRepr :: Name -> Q [Dec]Source

Given a type with an associated Ord instance, generates a representation that will cause its TMap implementation to be essentially equivalent to Data.Map.