Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions proto3-wire.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Proto3/Wire/Encode/Repeated.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Comment thread
j6carey marked this conversation as resolved.
#else
\f (Reverse xs) -> Data.IntSet.foldr (\x a -> a <> f x) mempty xs
#endif
Expand Down
Loading