@@ -154,10 +154,14 @@ import Data.Align
155-- | A 'Map' with monoidal accumulation
155-- | A 'Map' with monoidal accumulation
156newtype MonoidalMap k a = MonoidalMap { getMonoidalMap :: M.Map k a }
156newtype MonoidalMap k a = MonoidalMap { getMonoidalMap :: M.Map k a }
157− deriving (Show, Read, Functor, Eq, Ord, NFData,
157+ deriving ( Show, Read, Functor, Eq, Ord, NFData
158− Foldable, Traversable,
158+ , Foldable, Traversable
159− FromJSON, ToJSON, FromJSON1, ToJSON1,
159+ , FromJSON, ToJSON, FromJSON1, ToJSON1
160− Data, Typeable, Align)
160+ , Data, Typeable, Align
161+#if MIN_VERSION_these(0,8,0)
162#if MIN_VERSION_containers(0,5,9)
166#if MIN_VERSION_containers(0,5,9)
163deriving instance (Ord k) => Eq1 (MonoidalMap k)
167deriving instance (Ord k) => Eq1 (MonoidalMap k)