jaspervdj / psqueues

Priority Search Queues in three different flavors for Haskell
https://hackage.haskell.org/package/psqueues
Other
64 stars 24 forks source link

Fix the build on GHC 8.4 #24

Closed RyanGlScott closed 6 years ago

RyanGlScott commented 6 years ago

On base-4.11 (GHC 8.4), the Prelude exports (<>) from the Semigroup class, which conflicts with a function of the same name in Data.OrdPSQ.Internal. This fixes the issue by hiding (<>) from the Prelude on sufficiently recent versions of base.

jaspervdj commented 6 years ago

Thanks for the heads up. I prefer to not use CPP when I can so I will fix this by renaming the function (it isn't exported anyway and only used once).