packages feed

gdiff-th 0.1.0.4 → 0.1.0.5

raw patch · 2 files changed

+14/−22 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

gdiff-th.cabal view
@@ -7,26 +7,18 @@ -- The package version. See the Haskell package versioning policy -- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for -- standards guiding when and how versions should be incremented.-Version:             0.1.0.4+Version:             0.1.0.5  -- A short (one-line) description of the package. Synopsis:            Generate gdiff GADTs and Instances. -- A longer description of the package. Description:  -    Generate gdiff GADTs and Instances. Alpha, but suprisingly functional. -    Very useful for unit testing large data structures. I have tested it on a -    few very large collections of types and it appears to work. Although, -    when I tried to compare two versions of a hackage package with src-exts -    the (GDiff) performance is terrible. In my personal experience of using-    gdiff in unit testing, the performance has be great. Your mileage may vary.+    Generate gdiff GADTs and Instances.      .-    I wouldn't use it for sending patches over the wire or anything like that, -    I am not convinced there are no bugs in my code yet. There are examples in the @examples@ directory of the -    cabal tarball. Also the main module includes an example in the documentation.-    .    -    * New in 0.1.0.0 : It's functional.+    There are examples in the @examples@ directory of the cabal tarball. Also the main module includes an example in the documentation.     .-    * New in 0.1.0.4 : Builds on GHC 7.6.1, 7.4.2, and 7.0.3+    * 0.1.0.4 : Builds on GHC 7.6.1, 7.4.2, and 7.0.3+    * 0.1.0.5 : Doc fixes.  -- The license under which the package is released. License:             BSD3
src/Data/Generic/Diff/TH/Internal.hs view
@@ -169,15 +169,15 @@ type ConstructorRenamer = (String -> Name -> TH.Type -> Q Name)  -- | Customizable creation.------   Arg0 : The suffix added to the Family ------   Arg1 : Function used for naming constructors of the GADT after specialization------   Arg2 : A list of primitives and an expression for showing them------   Arg3 : The root type-makeGDiffWith :: String -> ConstructorRenamer -> [(Name, TH.Exp)] -> Name -> Q [Dec]+makeGDiffWith :: String +              -- ^ The suffix added to the Family +              -> ConstructorRenamer +              -- ^ Function used for naming constructors of the GADT after specialization+              -> [(Name, TH.Exp)] +              -- ^ A list of primitives and an expression for showing them+              -> Name +              -- ^ The root type+              -> Q [Dec] makeGDiffWith familyPrefix constructorRenamer primitives name = do     let familyName = mkName $ nameBase name ++ familyPrefix         prefix     = nameBase name