This PR derives the instances Ord, Data, and Typeable classes for the MetadataMap type. The Ord instance is necessary for storing MetadataMap in ordered containers such as Set. The Data and Typeable instances can also be provided for MetadataMap via the stock deriving mechanism and are useful for SYB-style programming.
This PR derives the instances
Ord
,Data
, andTypeable
classes for theMetadataMap
type. TheOrd
instance is necessary for storingMetadataMap
in ordered containers such asSet
. TheData
andTypeable
instances can also be provided forMetadataMap
via the stock deriving mechanism and are useful for SYB-style programming.Our
grpc-mqtt
library depends on orphans of these instances and it would be nice to have them canonicalized here.