base-orphans 0.4.0 → 0.4.1
raw patch · 3 files changed
+20/−21 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGES.markdown +3/−0
- base-orphans.cabal +16/−17
- src/Data/Orphans.hs +1/−4
CHANGES.markdown view
@@ -1,3 +1,6 @@+## Changes in 0.4.1+ - Fixed imports on GHC < 7.8 on Windows+ ## Changes in 0.4.0 - Removed all `Generic` and `Generic1` instances. These have been moved to the `generic-deriving` library.
base-orphans.cabal view
@@ -1,9 +1,9 @@--- This file has been generated from package.yaml by hpack version 0.3.2.+-- This file has been generated from package.yaml by hpack version 0.5.4. -- -- see: https://github.com/sol/hpack name: base-orphans-version: 0.4.0+version: 0.4.1 synopsis: Backwards-compatible orphan instances for base homepage: https://github.com/haskell-compat/base-orphans#readme bug-reports: https://github.com/haskell-compat/base-orphans/issues@@ -22,32 +22,37 @@ build-type: Simple cabal-version: >= 1.10 description: @base-orphans@ defines orphan instances that mimic instances available in later versions of @base@ to a wider (older) range of compilers. @base-orphans@ does not export anything except the orphan instances themselves and complements @<http://hackage.haskell.org/package/base-compat base-compat>@.- . See the README for what instances are covered: <https://github.com/haskell-compat/base-orphans#readme>. See also the <https://github.com/haskell-compat/base-orphans#what-is-not-covered what is not covered> section. extra-source-files:- CHANGES.markdown- README.markdown+ CHANGES.markdown+ README.markdown source-repository head type: git location: https://github.com/haskell-compat/base-orphans library- hs-source-dirs: src- exposed-modules:- Data.Orphans+ hs-source-dirs:+ src+ ghc-options: -Wall build-depends: base >= 4.3 && < 5- , ghc-prim- ghc-options: -Wall+ exposed-modules:+ Data.Orphans default-language: Haskell2010 test-suite spec type: exitcode-stdio-1.0- hs-source-dirs: test main-is: Spec.hs+ hs-source-dirs:+ test+ ghc-options: -Wall+ build-depends:+ base >= 4.3 && < 5+ , base-orphans+ , hspec == 2.* other-modules: Control.Applicative.OrphansSpec Control.Exception.OrphansSpec@@ -58,10 +63,4 @@ Data.Version.OrphansSpec Foreign.Storable.OrphansSpec GHC.Fingerprint.OrphansSpec- build-depends:- base >= 4.3 && < 5-- , base-orphans- , hspec == 2.*- ghc-options: -Wall default-language: Haskell2010
src/Data/Orphans.hs view
@@ -99,10 +99,6 @@ import GHC.IO.Handle.Types hiding (BufferList, HandleType) import GHC.IP import Text.Printf--# if defined(mingw32_HOST_OS)-import GHC.ConsoleHandler as Console-# endif #endif #if !(MIN_VERSION_base(4,8,0))@@ -141,6 +137,7 @@ import Text.Read as Read # if defined(mingw32_HOST_OS)+import GHC.ConsoleHandler as Console import GHC.IO.Encoding.CodePage.Table # endif #endif