Commit 50980fa4 authored by Ryan Scott's avatar Ryan Scott
Browse files

Patch arithmoi to accommodate ghc!8500

`GHC.Base` now exports `One`, with clashes with a type of the same name in
`arithmoi`. Add some explicit imports to avoid this.
parent c4dc45b2
Pipeline #54203 failed with stages
in 75 minutes and 37 seconds
diff --git a/Math/NumberTheory/Primes/Testing/Probabilistic.hs b/Math/NumberTheory/Primes/Testing/Probabilistic.hs
index 6497617..423f6d3 100644
--- a/Math/NumberTheory/Primes/Testing/Probabilistic.hs
+++ b/Math/NumberTheory/Primes/Testing/Probabilistic.hs
@@ -22,7 +22,7 @@ module Math.NumberTheory.Primes.Testing.Probabilistic
import Data.Bits
import Data.Mod
import Data.Proxy
-import GHC.Base
+import GHC.Base (Int(..), Word(..), (-#), (<#), isTrue#)
import GHC.Integer.GMP.Internals
import GHC.TypeNats (KnownNat, SomeNat(..), someNatVal)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment