packages feed

text-show 3.8.4 → 3.8.5

raw patch · 8 files changed

+13/−15 lines, 8 filesdep ~QuickCheckdep ~basedep ~ghc-boot-th

Dependency ranges changed: QuickCheck, base, ghc-boot-th, template-haskell, th-abstraction

Files

CHANGELOG.md view
@@ -1,3 +1,6 @@+### 3.8.5 [2020.02.28]+* Import from `GHC.Exts`, not `GHC.Prim`.+ ### 3.8.4 [2020.01.28] * Update the `TextShow(1)` instances for `Down` and `ThreadId` to match their   implementations in `base-4.14`.
src/TextShow/Control/Concurrent.hs view
@@ -24,7 +24,7 @@  import GHC.Conc (BlockReason, ThreadStatus) import GHC.Conc.Sync (ThreadId(..))-import GHC.Prim+import GHC.Exts (Addr#, unsafeCoerce#)  import Prelude () import Prelude.Compat
src/TextShow/Data/Integral.hs view
@@ -28,12 +28,10 @@ import           Data.Text.Lazy.Builder.Int (decimal) import           Data.Word (Word8, Word16, Word32, Word64) -import           GHC.Exts (Int(I#))+import           GHC.Exts (Int(I#), (<#), (>#)) #if __GLASGOW_HASKELL__ >= 708-import           GHC.Exts (isTrue#)-import           GHC.Prim (Int#)+import           GHC.Exts (Int#, isTrue#) #endif-import           GHC.Prim ((<#), (>#))  import           Prelude () import           Prelude.Compat
src/TextShow/Data/Typeable.hs view
@@ -37,8 +37,7 @@ import           Data.Text.Lazy.Builder (Builder, fromString, singleton) import           Data.Type.Equality ((:~~:)(..)) -import           GHC.Exts (Char(..))-import           GHC.Prim (Addr#, (+#), eqChar#, indexCharOffAddr#)+import           GHC.Exts (Addr#, Char(..), (+#), eqChar#, indexCharOffAddr#) import           GHC.Types (Module(..), TrName(..), TyCon(..), isTrue#)  import           TextShow.Classes (TextShow(..), TextShow1(..), showbParen, showbSpace)@@ -65,8 +64,7 @@ # endif  # if MIN_VERSION_base(4,9,0)-import           GHC.Exts (Char(..))-import           GHC.Prim (Addr#, (+#), eqChar#, indexCharOffAddr#)+import           GHC.Exts (Addr#, Char(..), (+#), eqChar#, indexCharOffAddr#) import           GHC.Types (TyCon(..), TrName(..), Module(..), isTrue#) # else import           Data.Typeable.Internal (TyCon)
src/TextShow/Foreign/Ptr.hs view
@@ -22,10 +22,10 @@ import Foreign.ForeignPtr (ForeignPtr) import Foreign.Ptr (FunPtr, IntPtr, WordPtr, castFunPtrToPtr) +import GHC.Exts (addr2Int#, int2Word#) import GHC.ForeignPtr (unsafeForeignPtrToPtr) import GHC.Num (wordToInteger) import GHC.Ptr (Ptr(..))-import GHC.Prim (addr2Int#, int2Word#)  import Prelude () import Prelude.Compat
src/TextShow/TH/Internal.hs view
@@ -75,12 +75,12 @@ import qualified Data.Text.Lazy.IO as TL (putStrLn, hPutStrLn)  import           GHC.Exts ( Char(..), Double(..), Float(..), Int(..), Word(..)+                          , Char#, Double#, Float#, Int#, Word# #if MIN_VERSION_base(4,13,0)                           , Int8#, Int16#, Word8#, Word16#                           , extendInt8#, extendInt16#, extendWord8#, extendWord16# #endif                           )-import           GHC.Prim (Char#, Double#, Float#, Int#, Word#) import           GHC.Show (appPrec, appPrec1)  import           Language.Haskell.TH.Datatype
src/TextShow/Utils.hs view
@@ -29,8 +29,7 @@ import           Data.Text.Lazy (length, toStrict, unpack) import           Data.Text.Lazy.Builder (Builder, singleton, toLazyText) -import           GHC.Exts (Char(C#), Int(I#))-import           GHC.Prim ((+#), chr#, ord#)+import           GHC.Exts (Char(C#), Int(I#), (+#), chr#, ord#)  import           Prelude () import           Prelude.Compat hiding (length)
text-show.cabal view
@@ -1,5 +1,5 @@ name:                text-show-version:             3.8.4+version:             3.8.5 synopsis:            Efficient conversion of values into Text description:         @text-show@ offers a replacement for the @Show@ typeclass intended                      for use with @Text@ instead of @String@s. This package was created@@ -51,7 +51,7 @@                    , GHC == 8.2.2                    , GHC == 8.4.4                    , GHC == 8.6.5-                   , GHC == 8.8.1+                   , GHC == 8.8.2 extra-source-files:  CHANGELOG.md, README.md, include/*.h cabal-version:       >=1.10