text-show-instances 3.9.3 → 3.9.4
raw patch · 50 files changed
+54/−51 lines, 50 filesdep ~aesonPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: aeson
API changes (from Hackage documentation)
Files
- CHANGELOG.md +3/−0
- src/TextShow/Control/Applicative/Trans.hs +1/−1
- src/TextShow/Control/Monad/Trans.hs +1/−1
- src/TextShow/Data/Aeson.hs +1/−1
- src/TextShow/Data/Bifunctor.hs +1/−1
- src/TextShow/Data/Binary.hs +1/−1
- src/TextShow/Data/Containers.hs +1/−1
- src/TextShow/Data/Functor/Trans.hs +1/−1
- src/TextShow/Data/Scientific.hs +1/−1
- src/TextShow/Data/ShortText.hs +1/−1
- src/TextShow/Data/Tagged.hs +1/−1
- src/TextShow/Data/Time.hs +1/−1
- src/TextShow/Data/UUID.hs +1/−1
- src/TextShow/Data/UnorderedContainers.hs +1/−1
- src/TextShow/Data/Vector.hs +1/−1
- src/TextShow/GHC/ForeignSrcLang/Type.hs +1/−1
- src/TextShow/GHC/LanguageExtensions/Type.hs +1/−1
- src/TextShow/Language/Haskell/TH.hs +1/−1
- src/TextShow/System/Console/Haskeline.hs +1/−1
- src/TextShow/System/Console/Terminfo.hs +1/−1
- src/TextShow/System/Directory.hs +1/−1
- src/TextShow/System/Locale.hs +1/−1
- src/TextShow/System/Posix.hs +1/−1
- src/TextShow/System/Random.hs +1/−1
- src/TextShow/System/Time.hs +1/−1
- src/TextShow/System/Win32.hs +1/−1
- src/TextShow/Text/PrettyPrint.hs +1/−1
- src/TextShow/Text/XHtml.hs +1/−1
- src/TextShow/Trace/Hpc.hs +1/−1
- tests/Instances/Control/Monad/Trans.hs +1/−1
- tests/Instances/Data/Bifunctor.hs +1/−1
- tests/Instances/Data/Binary.hs +1/−1
- tests/Instances/Data/Containers.hs +1/−1
- tests/Instances/Data/Time.hs +1/−1
- tests/Instances/Data/Vector.hs +1/−1
- tests/Instances/GHC/ForeignSrcLang/Type.hs +1/−1
- tests/Instances/GHC/LanguageExtensions/Type.hs +1/−1
- tests/Instances/Language/Haskell/TH.hs +1/−1
- tests/Instances/Miscellaneous.hs +1/−1
- tests/Instances/System/Console/Haskeline.hs +1/−1
- tests/Instances/System/Console/Terminfo.hs +1/−1
- tests/Instances/System/Directory.hs +1/−1
- tests/Instances/System/Locale.hs +1/−1
- tests/Instances/System/Posix.hs +1/−1
- tests/Instances/System/Random.hs +1/−1
- tests/Instances/System/Win32.hs +1/−1
- tests/Instances/Text/PrettyPrint.hs +1/−1
- tests/Instances/Text/XHtml.hs +1/−1
- tests/Instances/Trace/Hpc.hs +1/−1
- text-show-instances.cabal +3/−3
CHANGELOG.md view
@@ -1,3 +1,6 @@+### 3.9.4 [2022.12.30]+* Allow building with `aeson-2.1.*`.+ ### 3.9.3 [2022.12.28] * Add `TextShow` instances for `Value` and `Key` from `aeson`. * Drop support for GHC 7.8 and 7.10.
src/TextShow/Control/Applicative/Trans.hs view
@@ -1,5 +1,5 @@ {-# LANGUAGE OverloadedStrings #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: TextShow.Control.Applicative.Trans Copyright: (C) 2014-2017 Ryan Scott
src/TextShow/Control/Monad/Trans.hs view
@@ -1,5 +1,5 @@ {-# LANGUAGE OverloadedStrings #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: TextShow.Control.Monad.Trans Copyright: (C) 2014-2017 Ryan Scott
src/TextShow/Data/Aeson.hs view
@@ -1,5 +1,5 @@ {-# LANGUAGE OverloadedStrings #-}-{-# OPTIONS -fno-warn-orphans #-}+{-# OPTIONS -Wno-orphans #-} module TextShow.Data.Aeson where import Data.Aeson (Value(..))
src/TextShow/Data/Bifunctor.hs view
@@ -3,7 +3,7 @@ {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE UndecidableInstances #-} -{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: TextShow.Data.Bifunctor
src/TextShow/Data/Binary.hs view
@@ -1,6 +1,6 @@ {-# LANGUAGE CPP #-} {-# LANGUAGE OverloadedStrings #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} #if __GLASGOW_HASKELL__ == 800 -- See Note [Increased simpl-tick-factor on old GHCs] {-# OPTIONS_GHC -fsimpl-tick-factor=200 #-}
src/TextShow/Data/Containers.hs view
@@ -1,5 +1,5 @@ {-# LANGUAGE TemplateHaskell #-}-{-# OPTIONS -fno-warn-orphans #-}+{-# OPTIONS -Wno-orphans #-} {-| Module: TextShow.Data.Containers Copyright: (C) 2014-2017 Ryan Scott
src/TextShow/Data/Functor/Trans.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE PolyKinds #-} -{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: TextShow.Data.Functor.Trans Copyright: (C) 2014-2017 Ryan Scott
src/TextShow/Data/Scientific.hs view
@@ -1,4 +1,4 @@-{-# OPTIONS -fno-warn-orphans #-}+{-# OPTIONS -Wno-orphans #-} module TextShow.Data.Scientific () where import Data.Scientific import Data.Text.Lazy.Builder.Scientific ( scientificBuilder )
src/TextShow/Data/ShortText.hs view
@@ -1,4 +1,4 @@-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: TextShow.Data.ShortText Copyright: (C) 2014-2018 Ryan Scott
src/TextShow/Data/Tagged.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE PolyKinds #-} -{-# OPTIONS -fno-warn-orphans #-}+{-# OPTIONS -Wno-orphans #-} {-| Module: TextShow.Data.Tagged Copyright: (C) 2014-2017 Ryan Scott
src/TextShow/Data/Time.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE CPP #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE TemplateHaskell #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: TextShow.Data.Time Copyright: (C) 2014-2017 Ryan Scott
src/TextShow/Data/UUID.hs view
@@ -1,4 +1,4 @@-{-# OPTIONS -fno-warn-orphans #-}+{-# OPTIONS -Wno-orphans #-} module TextShow.Data.UUID where import qualified Data.UUID.Types as U
src/TextShow/Data/UnorderedContainers.hs view
@@ -1,4 +1,4 @@-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: TextShow.Data.UnorderedContainers Copyright: (C) 2014-2017 Ryan Scott
src/TextShow/Data/Vector.hs view
@@ -1,5 +1,5 @@ {-# LANGUAGE TemplateHaskell #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: TextShow.Data.Vector Copyright: (C) 2014-2017 Ryan Scott
src/TextShow/GHC/ForeignSrcLang/Type.hs view
@@ -2,7 +2,7 @@ #if MIN_VERSION_ghc_boot_th(8,2,0) {-# LANGUAGE TemplateHaskell #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} #endif {-|
src/TextShow/GHC/LanguageExtensions/Type.hs view
@@ -1,5 +1,5 @@ {-# LANGUAGE TemplateHaskell #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: TextShow.GHC.LanguageExtensions.Type
src/TextShow/Language/Haskell/TH.hs view
@@ -3,7 +3,7 @@ {-# LANGUAGE MagicHash #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TypeSynonymInstances #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: TextShow.Language.Haskell.TH Copyright: (C) 2014-2017 Ryan Scott
src/TextShow/System/Console/Haskeline.hs view
@@ -1,6 +1,6 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE TemplateHaskell #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: TextShow.System.Console.Haskeline Copyright: (C) 2014-2017 Ryan Scott
src/TextShow/System/Console/Terminfo.hs view
@@ -2,7 +2,7 @@ #if !defined(mingw32_HOST_OS) {-# LANGUAGE TemplateHaskell #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} #endif {-|
src/TextShow/System/Directory.hs view
@@ -1,5 +1,5 @@ {-# LANGUAGE TemplateHaskell #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: TextShow.System.Directory Copyright: (C) 2014-2017 Ryan Scott
src/TextShow/System/Locale.hs view
@@ -1,5 +1,5 @@ {-# LANGUAGE TemplateHaskell #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: TextShow.System.Locale Copyright: (C) 2014-2017 Ryan Scott
src/TextShow/System/Posix.hs view
@@ -2,7 +2,7 @@ #if !defined(mingw32_HOST_OS) {-# LANGUAGE TemplateHaskell #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} #endif {-|
src/TextShow/System/Random.hs view
@@ -1,4 +1,4 @@-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: TextShow.System.Random Copyright: (C) 2014-2017 Ryan Scott
src/TextShow/System/Time.hs view
@@ -1,5 +1,5 @@ {-# LANGUAGE TemplateHaskell #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: TextShow.System.Time Copyright: (C) 2014-2017 Ryan Scott
src/TextShow/System/Win32.hs view
@@ -3,7 +3,7 @@ #if defined(mingw32_HOST_OS) {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE TemplateHaskell #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} #endif {-|
src/TextShow/Text/PrettyPrint.hs view
@@ -1,5 +1,5 @@ {-# LANGUAGE TemplateHaskell #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: TextShow.Text.PrettyPrint Copyright: (C) 2014-2017 Ryan Scott
src/TextShow/Text/XHtml.hs view
@@ -1,5 +1,5 @@ {-# LANGUAGE TemplateHaskell #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: TextShow.Text.XHtml Copyright: (C) 2014-2017 Ryan Scott
src/TextShow/Trace/Hpc.hs view
@@ -1,5 +1,5 @@ {-# LANGUAGE TemplateHaskell #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: TextShow.Trace.Hpc Copyright: (C) 2014-2017 Ryan Scott
tests/Instances/Control/Monad/Trans.hs view
@@ -2,7 +2,7 @@ {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE StandaloneDeriving #-} {-# LANGUAGE UndecidableInstances #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: Instances.Control.Monad.Trans Copyright: (C) 2014-2017 Ryan Scott
tests/Instances/Data/Bifunctor.hs view
@@ -2,7 +2,7 @@ {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE StandaloneDeriving #-} {-# LANGUAGE UndecidableInstances #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: Instances.Data.Bifunctor
tests/Instances/Data/Binary.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE CPP #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE StandaloneDeriving #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: Instances.Data.Binary Copyright: (C) 2014-2017 Ryan Scott
tests/Instances/Data/Containers.hs view
@@ -3,7 +3,7 @@ {-# LANGUAGE StandaloneDeriving #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TypeFamilies #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: Instances.Data.Containers Copyright: (C) 2014-2017 Ryan Scott
tests/Instances/Data/Time.hs view
@@ -3,7 +3,7 @@ #if MIN_VERSION_time(1,8,0) {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE StandaloneDeriving #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} #endif {-|
tests/Instances/Data/Vector.hs view
@@ -1,6 +1,6 @@ {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE StandaloneDeriving #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: Instances.Data.Vector Copyright: (C) 2014-2017 Ryan Scott
tests/Instances/GHC/ForeignSrcLang/Type.hs view
@@ -2,7 +2,7 @@ #if MIN_VERSION_ghc_boot_th(8,2,0) {-# LANGUAGE StandaloneDeriving #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} #endif {-|
tests/Instances/GHC/LanguageExtensions/Type.hs view
@@ -1,5 +1,5 @@ {-# LANGUAGE StandaloneDeriving #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: Instances.GHC.LanguageExtensions.Type
tests/Instances/Language/Haskell/TH.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE StandaloneDeriving #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: Instances.Language.Haskell.TH Copyright: (C) 2014-2017 Ryan Scott
tests/Instances/Miscellaneous.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE CPP #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE StandaloneDeriving #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: Instances.Miscellaneous Copyright: (C) 2014-2017 Ryan Scott
tests/Instances/System/Console/Haskeline.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE CPP #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE StandaloneDeriving #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: Instances.System.Console.Haskeline Copyright: (C) 2014-2017 Ryan Scott
tests/Instances/System/Console/Terminfo.hs view
@@ -4,7 +4,7 @@ {-# LANGUAGE DataKinds #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TypeFamilies #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} #endif {-|
tests/Instances/System/Directory.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE DataKinds #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TypeFamilies #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: Instances.System.Directory Copyright: (C) 2014-2017 Ryan Scott
tests/Instances/System/Locale.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE CPP #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE StandaloneDeriving #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: Instances.System.Locale Copyright: (C) 2014-2017 Ryan Scott
tests/Instances/System/Posix.hs view
@@ -3,7 +3,7 @@ #if !defined(mingw32_HOST_OS) {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE StandaloneDeriving #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} #endif {-|
tests/Instances/System/Random.hs view
@@ -1,4 +1,4 @@-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: Instances.System.Random Copyright: (C) 2014-2017 Ryan Scott
tests/Instances/System/Win32.hs view
@@ -4,7 +4,7 @@ {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE StandaloneDeriving #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} #endif {-|
tests/Instances/Text/PrettyPrint.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE StandaloneDeriving #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: Instances.Text.PrettyPrint Copyright: (C) 2014-2017 Ryan Scott
tests/Instances/Text/XHtml.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE CPP #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE StandaloneDeriving #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: Instances.Text.XHtml Copyright: (C) 2014-2017 Ryan Scott
tests/Instances/Trace/Hpc.hs view
@@ -2,7 +2,7 @@ {-# LANGUAGE StandaloneDeriving #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TypeFamilies #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -Wno-orphans #-} {-| Module: Instances.Trace.Hpc Copyright: (C) 2014-2017 Ryan Scott
text-show-instances.cabal view
@@ -1,5 +1,5 @@ name: text-show-instances-version: 3.9.3+version: 3.9.4 synopsis: Additional instances for text-show description: @text-show-instances@ is a supplemental library to @text-show@ that provides additional @Show@ instances for data types in@@ -124,7 +124,7 @@ TextShow.System.Console.Terminfo TextShow.System.Posix other-modules: TextShow.Utils- build-depends: aeson >= 2.0.3 && < 2.1+ build-depends: aeson >= 2.0.3 && < 2.2 , base >= 4.9 && < 4.18 , base-compat >= 0.10 && < 1 , bifunctors >= 5.2 && < 6@@ -232,7 +232,7 @@ -- Only defines tests if not using Windows Spec.System.Console.TerminfoSpec Spec.System.PosixSpec- build-depends: aeson >= 2.0.3 && < 2.1+ build-depends: aeson >= 2.0.3 && < 2.2 , base >= 4.9 && < 4.18 , base-compat >= 0.10 && < 1 , bifunctors >= 5.5.5 && < 6