1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
commit c93b53a4aaad5a6ee2ddf90010957981d75d3579 (HEAD -> master, origin/master, origin/HEAD)
Author: Andrey Prokopenko <persiantiger@yandex.ru>
Date: Sun Apr 18 01:21:37 2021 +0300
Hide `quoteRemInteger` import for base-4.15.0.0
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)
+#else
import GHC.Num (quotRemInteger)
+#endif
import GHC.Types (Int(..))
#if defined(INTEGER_GMP)
|