packages feed

deepseq-generics 0.1.1.1 → 0.1.1.2

raw patch · 3 files changed

+33/−16 lines, 3 filesdep ~basedep ~deepseqdep ~ghc-primPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, deepseq, ghc-prim

API changes (from Hackage documentation)

Files

Control/DeepSeq/Generics.hs view
@@ -9,11 +9,23 @@ -- Stability:   stable -- Portability: GHC ----- Note: Beyond the primary scope of providing the 'genericRnf'---       helper, this module also re-exports the definitions from---       "Control.DeepSeq" for convenience. If this poses any---       problems, just use qualified or explicit import statements---       (see code usage example in the 'genericRnf' description)+-- Beyond the primary scope of providing the 'genericRnf' helper, this+-- module also re-exports the definitions from "Control.DeepSeq" for+-- convenience. If this poses any problems, just use qualified or+-- explicit import statements (see code usage example in the+-- 'genericRnf' description)+--+-- __NOTE__: Starting with @deepseq-1.4.0.0@, 'NFData' gained support+-- for generic derivation via @DefaultSignatures@. The new default+-- 'rnf' method implementation is then equivalent to+--+-- @+-- instance NFData MyType where+--   'rnf' = 'genericRnfV1'+-- @+--+-- See documentation of 'rnf' for more details on how to use the new+-- built-in 'Generic' support.  module Control.DeepSeq.Generics     ( genericRnf@@ -69,7 +81,7 @@ -- > -- > instance NFData a => NFData (Bar a) where rnf = genericRnf ----- Note: The 'GNFData' type-class showing up in the type-signature is+-- __NOTE__: The 'GNFData' type-class showing up in the type-signature is --       used internally and not exported on purpose currently.  genericRnf :: (Generic a, GNFData (Rep a)) => a -> ()@@ -78,7 +90,7 @@  -- | Hidden internal type-class ----- Note: the 'V1' instance is not provided for 'GNFData' in order to+-- __NOTE__: the 'V1' instance is not provided for 'GNFData' in order to -- trigger a compile-time error; see 'GNFDataV1' which defers this to -- a runtime error. class GNFData f where
changelog view
@@ -1,5 +1,9 @@ -*-change-log-*- +0.1.1.2 Herbert Valerio Riedel  <hvr@gnu.org>  November 2013++	* Add support for GHC 7.10 and `deepseq-1.4.0.0`+ 0.1.1.1 Herbert Valerio Riedel  <hvr@gnu.org>  November 2013  	* Add support for GHC 7.8
deepseq-generics.cabal view
@@ -1,5 +1,5 @@ name:                deepseq-generics-version:             0.1.1.1+version:             0.1.1.2 synopsis:            GHC.Generics-based Control.DeepSeq.rnf implementation homepage:            https://github.com/hvr/deepseq-generics bug-reports:         https://github.com/hvr/deepseq-generics/issues@@ -24,8 +24,14 @@     for more information).     .     This package differs from the @generic-deepseq@ package by working-    in combination with the existing @deepseq@ package as opposed to defining a-    conflicting drop-in replacement for @deepseq@'s @Control.Deepseq@ module.+    in combination with the existing @deepseq@ package as opposed to+    defining a conflicting drop-in replacement for @deepseq@'s+    @Control.Deepseq@ module.+    .+    Note: The ability to auto-derive via "GHC.Generics" has been+    merged into @deepseq-1.4.0.0@. This package is now still useful+    for writing code that's also compatible with older @deepseq@+    versions not yet providing "GHC.Generics"-support.  extra-source-files: changelog @@ -33,15 +39,10 @@     type:     git     location: https://github.com/hvr/deepseq-generics.git -source-repository this-    type:     git-    location: https://github.com/hvr/deepseq-generics.git-    tag:      0.1.1.1- library     default-language:    Haskell2010     exposed-modules:     Control.DeepSeq.Generics-    build-depends:       base >= 4.5 && < 4.8, ghc-prim >= 0.2 && < 0.4, deepseq >= 1.2.0.1 && < 1.4+    build-depends:       base >= 4.5 && < 4.9, ghc-prim >= 0.2 && < 0.4, deepseq >= 1.2.0.1 && < 1.5     other-extensions:    BangPatterns, FlexibleContexts, TypeOperators     ghc-options:         -Wall