From c93b53a4aaad5a6ee2ddf90010957981d75d3579 Mon Sep 17 00:00:00 2001 From: Andrey Prokopenko Date: Sun, 18 Apr 2021 01:21:37 +0300 Subject: [PATCH] Hide `quoteRemInteger` import for base-4.15.0.0 --- Blaze/Text/Int.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Blaze/Text/Int.hs b/Blaze/Text/Int.hs index 58cdbf4..bf395a3 100644 --- a/Blaze/Text/Int.hs +++ b/Blaze/Text/Int.hs @@ -23,7 +23,10 @@ import Data.Int (Int8, Int16, Int32, Int64) import Data.Monoid (mappend, mempty) import Data.Word (Word, Word8, Word16, Word32, Word64) import GHC.Base (quotInt, remInt) +#if MIN_VERSION_base(4,15,0) +#elif import GHC.Num (quotRemInteger) +#endif import GHC.Types (Int(..)) #if defined(INTEGER_GMP)