diff --git a/proto3-wire.cabal b/proto3-wire.cabal index 92ac751..c1f3c6c 100644 --- a/proto3-wire.cabal +++ b/proto3-wire.cabal @@ -39,13 +39,13 @@ library base >=4.12 && <=5.0 , bytestring >=0.10.6.0 && <0.13.0 , cereal >= 0.5.1 && <0.6 - , containers >=0.5 && <0.8 + , containers >=0.5 && <0.9 , deepseq >=1.4 && <1.6 , hashable <1.6 , parameterized >=0.5.0.0 && <1 , primitive >=0.6.4 && <0.10 , safe ==0.3.* - , template-haskell >= 2.15.0 && < 2.24 + , template-haskell >= 2.15.0 && < 2.25 , text >= 0.2 && <2.2 , text-short ==0.1.* , transformers >=0.5.6.2 && <0.7 @@ -80,7 +80,7 @@ test-suite tests base >=4.9 && <=5.0 , bytestring >=0.10.6.0 && <0.13.0 , cereal >= 0.5.1 && <0.6 - , containers >=0.5 && <0.8 + , containers >=0.5 && <0.9 , doctest >= 0.7.0 && <0.25.0 , proto3-wire , QuickCheck >=2.8 && <3.0 diff --git a/src/Proto3/Wire/Encode/Repeated.hs b/src/Proto3/Wire/Encode/Repeated.hs index f3f5df9..e1d7369 100644 --- a/src/Proto3/Wire/Encode/Repeated.hs +++ b/src/Proto3/Wire/Encode/Repeated.hs @@ -514,7 +514,7 @@ instance ToRepeated (Reverse Data.IntSet.IntSet) Data.IntSet.Key foldMapRepeatedSource = #if MIN_VERSION_containers(0,8,0) - \f (Reverse xs) -> getDual (Data.IntSet.foldMap (\x -> Dual (f x)) xs + \f (Reverse xs) -> getDual (Data.IntSet.foldMap (\x -> Dual (f x)) xs) #else \f (Reverse xs) -> Data.IntSet.foldr (\x a -> a <> f x) mempty xs #endif