commit ghc-th-utilities for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-th-utilities for openSUSE:Factory checked in at 2020-09-15 16:19:59 Comparing /work/SRC/openSUSE:Factory/ghc-th-utilities (Old) and /work/SRC/openSUSE:Factory/.ghc-th-utilities.new.4249 (New) Package is "ghc-th-utilities" Tue Sep 15 16:19:59 2020 rev:10 rq:833299 version:0.2.4.0 Changes: --- /work/SRC/openSUSE:Factory/ghc-th-utilities/ghc-th-utilities.changes 2020-05-11 13:36:37.040521852 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-th-utilities.new.4249/ghc-th-utilities.changes 2020-09-15 16:20:01.070121595 +0200 @@ -2 +2 @@ -Wed Apr 1 12:37:24 UTC 2020 - psim...@suse.com +Tue Aug 25 10:19:13 UTC 2020 - psim...@suse.com @@ -4,2 +4 @@ -- Update th-utilities to version 0.2.4.0. - ## 0.2.4.0 +- Add th-utilities at version 0.2.4.0. @@ -7,74 +5,0 @@ - * Compatibility with GHC-8.10 - - * Behavior change in reification of type family instances. Instead of -erroring if the instance mentions a kind variable, now just ignores -it. - -Fri Nov 8 16:15:00 UTC 2019 - Peter Simons - -- Drop obsolete group attributes. - -Fri Oct 18 02:02:42 UTC 2019 - psim...@suse.com - -- Update th-utilities to version 0.2.3.1. - ## 0.2.3.1 - - * Compatibility with GHC-8.8 - -Mon May 6 02:01:42 UTC 2019 - psim...@suse.com - -- Update th-utilities to version 0.2.3.0. - ## 0.2.3.0 - - * Improved fix to the type variable behavior with GHC <= 7.10. Uses -`Any` in place of type variables instead of `()`, to allow for more -kinds than just `*` and `Constraint`. - - ## 0.2.2.0 - - * Fixes derive and instantiator mechanisms to work with ghc 7.10 and -earlier. Previously, invocation was broken when type variables were -used. - - * Fixes `freeVarsT` - it now looks through more constructors of `Type`. - - * Adds `dequalifyTyVars` to dequalify every type variable. - -Thu Jan 10 15:43:28 UTC 2019 - psim...@suse.com - -- Update th-utilities to version 0.2.1.0. - ## 0.2.0.1 - - * Fixes build on 7.8 - - * Fixes warnings - -Sat Oct 20 11:32:08 UTC 2018 - Peter Simons - -- Use https URL to refer to bugs.opensuse.org. - -Wed Jul 18 14:26:45 UTC 2018 - psim...@suse.com - -- Cosmetic: replace tabs with blanks, strip trailing white space, - and update copyright headers with spec-cleaner. - -Wed May 16 14:36:29 UTC 2018 - psim...@suse.com - -- Prefer the new %license attribute over %doc. - -Thu Aug 3 15:38:38 UTC 2017 - psim...@suse.com - -- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. - -Thu Feb 16 11:38:29 UTC 2017 - psim...@suse.com - -- Update to version 0.2.0.1 with cabal2obs. Other differences: -- ++ ghc-th-utilities.spec ++ --- /var/tmp/diff_new_pack.26FVw1/_old 2020-09-15 16:20:02.126122606 +0200 +++ /var/tmp/diff_new_pack.26FVw1/_new 2020-09-15 16:20:02.130122610 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-th-utilities # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -55,7 +55,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} +%autosetup -n %{pkg_name}-%{version} %build %ghc_lib_build
commit ghc-th-utilities for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-th-utilities for openSUSE:Factory checked in at 2020-05-11 13:36:28 Comparing /work/SRC/openSUSE:Factory/ghc-th-utilities (Old) and /work/SRC/openSUSE:Factory/.ghc-th-utilities.new.2738 (New) Package is "ghc-th-utilities" Mon May 11 13:36:28 2020 rev:9 rq:801057 version:0.2.4.0 Changes: --- /work/SRC/openSUSE:Factory/ghc-th-utilities/ghc-th-utilities.changes 2019-12-27 13:58:25.940805114 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-th-utilities.new.2738/ghc-th-utilities.changes 2020-05-11 13:36:37.040521852 +0200 @@ -1,0 +2,12 @@ +Wed Apr 1 12:37:24 UTC 2020 - psim...@suse.com + +- Update th-utilities to version 0.2.4.0. + ## 0.2.4.0 + + * Compatibility with GHC-8.10 + + * Behavior change in reification of type family instances. Instead of +erroring if the instance mentions a kind variable, now just ignores +it. + +--- Old: th-utilities-0.2.3.1.tar.gz New: th-utilities-0.2.4.0.tar.gz Other differences: -- ++ ghc-th-utilities.spec ++ --- /var/tmp/diff_new_pack.VfX3iK/_old 2020-05-11 13:36:37.844523538 +0200 +++ /var/tmp/diff_new_pack.VfX3iK/_new 2020-05-11 13:36:37.848523546 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-th-utilities # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name th-utilities %bcond_with tests Name: ghc-%{pkg_name} -Version:0.2.3.1 +Version:0.2.4.0 Release:0 Summary:Collection of useful functions for use with Template Haskell License:MIT ++ th-utilities-0.2.3.1.tar.gz -> th-utilities-0.2.4.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/th-utilities-0.2.3.1/ChangeLog.md new/th-utilities-0.2.4.0/ChangeLog.md --- old/th-utilities-0.2.3.1/ChangeLog.md 2019-10-17 05:23:43.0 +0200 +++ new/th-utilities-0.2.4.0/ChangeLog.md 2020-04-01 07:18:00.0 +0200 @@ -1,5 +1,13 @@ # ChangeLog +## 0.2.4.0 + +* Compatibility with GHC-8.10 + +* Behavior change in reification of type family instances. Instead of + erroring if the instance mentions a kind variable, now just ignores + it. + ## 0.2.3.1 * Compatibility with GHC-8.8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/th-utilities-0.2.3.1/src/TH/ReifySimple.hs new/th-utilities-0.2.4.0/src/TH/ReifySimple.hs --- old/th-utilities-0.2.3.1/src/TH/ReifySimple.hs 2019-10-17 05:21:51.0 +0200 +++ new/th-utilities-0.2.4.0/src/TH/ReifySimple.hs 2020-04-01 07:00:25.0 +0200 @@ -61,6 +61,9 @@ import Data.Typeable (Typeable) import GHC.Generics (Generic) import Language.Haskell.TH +#if MIN_VERSION_template_haskell(2,16,0) + hiding (reifyType) +#endif import Language.Haskell.TH.Instances () import TH.Utilities @@ -260,34 +263,29 @@ FamilyI (ClosedTypeFamilyD (TypeFamilyHead name tvs _result _injectivity) eqns) _ -> Just $ TypeFamily name (map tyVarBndrName tvs) $ map (goEqn name) eqns FamilyI (OpenTypeFamilyD (TypeFamilyHead name tvs _result _injectivity)) insts -> -Just $ TypeFamily name (map tyVarBndrName tvs) $ map go insts +Just $ TypeFamily name (map tyVarBndrName tvs) $ map (goInst name) insts #else FamilyI (ClosedTypeFamilyD name tvs _kind eqns) [] -> Just $ TypeFamily name (map tyVarBndrName tvs) $ map (goEqn name) eqns FamilyI (FamilyD TypeFam name tvs _kind) insts -> -Just $ TypeFamily name (map tyVarBndrName tvs) $ map go insts +Just $ TypeFamily name (map tyVarBndrName tvs) $ map (goInst name) insts #endif _ -> Nothing where #if MIN_VERSION_template_haskell(2,15,0) -goEqn _ (TySynEqn _ lhs ty) - | ConT name:params <- unAppsT lhs - = TypeInst name params ty - | otherwise - = error $ "Unexpected type family instance head: " ++ pprint lhs +toParams ps (AppT ty p) = toParams (p : ps) ty +toParams ps (AppKindT ty _) = toParams ps ty +toParams ps _ = ps +goEqn name (TySynEqn _ lty rty) = TypeInst name (toParams [] lty) rty +goInst name (TySynInstD eqn) = goEqn name eqn +goInst _ info' = error $ +"Unexpected instance in FamilyI in infoToTypeInsts:\n" ++ pprint info' #else goEqn name (TySynEqn params ty) = Typ
commit ghc-th-utilities for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-th-utilities for openSUSE:Factory checked in at 2019-12-27 13:58:25 Comparing /work/SRC/openSUSE:Factory/ghc-th-utilities (Old) and /work/SRC/openSUSE:Factory/.ghc-th-utilities.new.6675 (New) Package is "ghc-th-utilities" Fri Dec 27 13:58:25 2019 rev:8 rq:759536 version:0.2.3.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-th-utilities/ghc-th-utilities.changes 2019-05-12 11:36:38.194438636 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-th-utilities.new.6675/ghc-th-utilities.changes 2019-12-27 13:58:25.940805114 +0100 @@ -1,0 +2,13 @@ +Fri Nov 8 16:15:00 UTC 2019 - Peter Simons + +- Drop obsolete group attributes. + +--- +Fri Oct 18 02:02:42 UTC 2019 - psim...@suse.com + +- Update th-utilities to version 0.2.3.1. + ## 0.2.3.1 + + * Compatibility with GHC-8.8 + +--- Old: th-utilities-0.2.3.0.tar.gz New: th-utilities-0.2.3.1.tar.gz Other differences: -- ++ ghc-th-utilities.spec ++ --- /var/tmp/diff_new_pack.OGwp4j/_old 2019-12-27 13:58:26.928805592 +0100 +++ /var/tmp/diff_new_pack.OGwp4j/_new 2019-12-27 13:58:26.932805594 +0100 @@ -19,11 +19,10 @@ %global pkg_name th-utilities %bcond_with tests Name: ghc-%{pkg_name} -Version:0.2.3.0 +Version:0.2.3.1 Release:0 Summary:Collection of useful functions for use with Template Haskell License:MIT -Group: Development/Libraries/Haskell URL:https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel @@ -47,7 +46,6 @@ %package devel Summary:Haskell %{pkg_name} library development files -Group: Development/Libraries/Haskell Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} ++ th-utilities-0.2.3.0.tar.gz -> th-utilities-0.2.3.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/th-utilities-0.2.3.0/ChangeLog.md new/th-utilities-0.2.3.1/ChangeLog.md --- old/th-utilities-0.2.3.0/ChangeLog.md 2019-05-05 23:12:52.0 +0200 +++ new/th-utilities-0.2.3.1/ChangeLog.md 2019-10-17 05:23:43.0 +0200 @@ -1,5 +1,9 @@ # ChangeLog +## 0.2.3.1 + +* Compatibility with GHC-8.8 + ## 0.2.3.0 * Improved fix to the type variable behavior with GHC <= 7.10. Uses diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/th-utilities-0.2.3.0/src/TH/ReifySimple.hs new/th-utilities-0.2.3.1/src/TH/ReifySimple.hs --- old/th-utilities-0.2.3.0/src/TH/ReifySimple.hs 2019-01-09 05:54:24.0 +0100 +++ new/th-utilities-0.2.3.1/src/TH/ReifySimple.hs 2019-10-17 05:21:51.0 +0200 @@ -233,18 +233,24 @@ Just $ DataFamily name (map tyVarBndrName tvs) (map go insts) _ -> Nothing where -#if MIN_VERSION_template_haskell(2,11,0) -go (NewtypeInstD preds name params _kind con _deriving) = +#if MIN_VERSION_template_haskell(2,15,0) +go (NewtypeInstD preds _ lhs _kind con _deriving) + | ConT name:params <- unAppsT lhs +#elif MIN_VERSION_template_haskell(2,11,0) +go (NewtypeInstD preds name params _kind con _deriving) #else -go (NewtypeInstD preds name params con _deriving) = +go (NewtypeInstD preds name params con _deriving) #endif -DataInst name preds params (conToDataCons con) -#if MIN_VERSION_template_haskell(2,11,0) -go (DataInstD preds name params _kind cons _deriving) = + = DataInst name preds params (conToDataCons con) +#if MIN_VERSION_template_haskell(2,15,0) +go (DataInstD preds _ lhs _kind cons _deriving) + | ConT name:params <- unAppsT lhs +#elif MIN_VERSION_template_haskell(2,11,0) +go (DataInstD preds name params _kind cons _deriving) #else -go (DataInstD preds name params cons _deriving) = +go (DataInstD preds name params cons _deriving) #endif -DataInst name preds params (concatMap conToDataCons cons) + = DataInst name preds params (concatMap conToDataCons cons) go info' = error $ "Unexpected instance in FamilyI in infoToDataInsts:\n" ++ pprint info' @@ -263,8 +269,23 @@ #endif _ -> Nothing where +#if MIN_VERSION_template_haskell(2,15,0) +goEqn _ (TySynEqn _ lhs ty) + | ConT name:params <- unAppsT lhs + = TypeInst name params ty + | otherwise + = error $ "Unexpected type family instance head:
commit ghc-th-utilities for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-th-utilities for openSUSE:Factory checked in at 2019-05-12 11:36:34 Comparing /work/SRC/openSUSE:Factory/ghc-th-utilities (Old) and /work/SRC/openSUSE:Factory/.ghc-th-utilities.new.5148 (New) Package is "ghc-th-utilities" Sun May 12 11:36:34 2019 rev:7 rq:701775 version:0.2.3.0 Changes: --- /work/SRC/openSUSE:Factory/ghc-th-utilities/ghc-th-utilities.changes 2019-01-25 22:43:34.739212401 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-th-utilities.new.5148/ghc-th-utilities.changes 2019-05-12 11:36:38.194438636 +0200 @@ -1,0 +2,20 @@ +Mon May 6 02:01:42 UTC 2019 - psim...@suse.com + +- Update th-utilities to version 0.2.3.0. + ## 0.2.3.0 + + * Improved fix to the type variable behavior with GHC <= 7.10. Uses +`Any` in place of type variables instead of `()`, to allow for more +kinds than just `*` and `Constraint`. + + ## 0.2.2.0 + + * Fixes derive and instantiator mechanisms to work with ghc 7.10 and +earlier. Previously, invocation was broken when type variables were +used. + + * Fixes `freeVarsT` - it now looks through more constructors of `Type`. + + * Adds `dequalifyTyVars` to dequalify every type variable. + +--- Old: th-utilities-0.2.1.0.tar.gz New: th-utilities-0.2.3.0.tar.gz Other differences: -- ++ ghc-th-utilities.spec ++ --- /var/tmp/diff_new_pack.CiLwiY/_old 2019-05-12 11:36:38.946440838 +0200 +++ /var/tmp/diff_new_pack.CiLwiY/_new 2019-05-12 11:36:38.954440861 +0200 @@ -19,7 +19,7 @@ %global pkg_name th-utilities %bcond_with tests Name: ghc-%{pkg_name} -Version:0.2.1.0 +Version:0.2.3.0 Release:0 Summary:Collection of useful functions for use with Template Haskell License:MIT ++ th-utilities-0.2.1.0.tar.gz -> th-utilities-0.2.3.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/th-utilities-0.2.1.0/ChangeLog.md new/th-utilities-0.2.3.0/ChangeLog.md --- old/th-utilities-0.2.1.0/ChangeLog.md 2019-01-09 05:57:34.0 +0100 +++ new/th-utilities-0.2.3.0/ChangeLog.md 2019-05-05 23:12:52.0 +0200 @@ -1,5 +1,21 @@ # ChangeLog +## 0.2.3.0 + +* Improved fix to the type variable behavior with GHC <= 7.10. Uses + `Any` in place of type variables instead of `()`, to allow for more + kinds than just `*` and `Constraint`. + +## 0.2.2.0 + +* Fixes derive and instantiator mechanisms to work with ghc 7.10 and + earlier. Previously, invocation was broken when type variables were + used. + +* Fixes `freeVarsT` - it now looks through more constructors of `Type`. + +* Adds `dequalifyTyVars` to dequalify every type variable. + ## 0.2.0.1 * Fixes build on 7.8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/th-utilities-0.2.1.0/src/TH/Derive.hs new/th-utilities-0.2.3.0/src/TH/Derive.hs --- old/th-utilities-0.2.1.0/src/TH/Derive.hs 2019-01-09 05:54:24.0 +0100 +++ new/th-utilities-0.2.3.0/src/TH/Derive.hs 2019-05-05 23:07:34.0 +0200 @@ -67,6 +67,7 @@ import TH.Utilities import TH.Derive.Internal import TH.Derive.Storable () +import GHC.Exts (Any) --TODO: support deriving on constraint kinds, for concision! @@ -84,12 +85,12 @@ toStmt (varName, dec) = case fromPlainInstanceD dec of Just (preds, AppT (ConT ((== ''Deriving) -> True)) cls, []) -> bindS (varP varName) - [e| runDeriver $(proxyE (return cls)) + [e| runDeriver $(proxyE (return (tyVarsToAny cls))) preds cls |] Just (preds, ty, decs) -> bindS (varP varName) - [e| runInstantiator $(proxyE (return ty)) + [e| runInstantiator $(proxyE (return (tyVarsToAny ty))) preds ty decs |] @@ -97,6 +98,18 @@ "Expected deriver or instantiator, instead got:\n" ++ show dec +-- | Turn type variables into uses of 'Any'. +-- +-- The purpose of this is to avoid errors such as described in +-- https://github.com/fpco/store/issues/140 . The problem is that +-- older GHC versions (<= 7.10) have a bug where they expect type +-- variables in expressions to be in scope. +tyVarsToAny :: Data a => a -> a +tyVarsToAny = everywhere (id `extT` modifyType) + where +modifyType (VarT _) = ConT ''Any +modifyType ty = ty + -- | Useful function for defining 'Instantiator' instances. It uses -- 'Data'
commit ghc-th-utilities for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-th-utilities for openSUSE:Factory checked in at 2019-01-25 22:43:34 Comparing /work/SRC/openSUSE:Factory/ghc-th-utilities (Old) and /work/SRC/openSUSE:Factory/.ghc-th-utilities.new.28833 (New) Package is "ghc-th-utilities" Fri Jan 25 22:43:34 2019 rev:6 rq:667144 version:0.2.1.0 Changes: --- /work/SRC/openSUSE:Factory/ghc-th-utilities/ghc-th-utilities.changes 2018-10-25 09:06:25.830501766 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-th-utilities.new.28833/ghc-th-utilities.changes 2019-01-25 22:43:34.739212401 +0100 @@ -1,0 +2,10 @@ +Thu Jan 10 15:43:28 UTC 2019 - psim...@suse.com + +- Update th-utilities to version 0.2.1.0. + ## 0.2.0.1 + + * Fixes build on 7.8 + + * Fixes warnings + +--- Old: th-utilities-0.2.0.1.tar.gz New: th-utilities-0.2.1.0.tar.gz Other differences: -- ++ ghc-th-utilities.spec ++ --- /var/tmp/diff_new_pack.SGaGcD/_old 2019-01-25 22:43:35.227211800 +0100 +++ /var/tmp/diff_new_pack.SGaGcD/_new 2019-01-25 22:43:35.227211800 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-th-utilities # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name th-utilities %bcond_with tests Name: ghc-%{pkg_name} -Version:0.2.0.1 +Version:0.2.1.0 Release:0 Summary:Collection of useful functions for use with Template Haskell License:MIT ++ th-utilities-0.2.0.1.tar.gz -> th-utilities-0.2.1.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/th-utilities-0.2.0.1/ChangeLog.md new/th-utilities-0.2.1.0/ChangeLog.md --- old/th-utilities-0.2.0.1/ChangeLog.md 2016-08-02 10:48:06.0 +0200 +++ new/th-utilities-0.2.1.0/ChangeLog.md 2019-01-09 05:57:34.0 +0100 @@ -1,5 +1,11 @@ # ChangeLog +## 0.2.0.1 + +* Fixes build on 7.8 + +* Fixes warnings + ## 0.2.0.0 * Adds TH.ReifySimple, which supports reifying most of the information TH users diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/th-utilities-0.2.0.1/src/TH/Derive.hs new/th-utilities-0.2.1.0/src/TH/Derive.hs --- old/th-utilities-0.2.0.1/src/TH/Derive.hs 2016-07-20 05:22:40.0 +0200 +++ new/th-utilities-0.2.1.0/src/TH/Derive.hs 2019-01-09 05:54:24.0 +0100 @@ -10,7 +10,7 @@ -- typeclasses beyond GHC's ability to generate instances in @deriving@ -- clauses. -- --- For exmaple, "TH.Derive.Storable" defines a 'Deriver' for 'Storable'. +-- For example, "TH.Derive.Storable" defines a 'Deriver' for 'Storable'. -- This allows us to use 'derive' to generate an instance for Storable: -- -- @ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/th-utilities-0.2.0.1/src/TH/Utilities.hs new/th-utilities-0.2.1.0/src/TH/Utilities.hs --- old/th-utilities-0.2.0.1/src/TH/Utilities.hs2016-08-02 11:15:44.0 +0200 +++ new/th-utilities-0.2.1.0/src/TH/Utilities.hs2019-01-09 05:54:24.0 +0100 @@ -155,3 +155,17 @@ instance Lift ExpLifter where lift (ExpLifter e) = e + +-- | Print splices generated by a TH splice (the printing will happen +-- during compilation, as a GHC warning). Useful for debugging. +-- +-- For instance, you can dump splices generated with 'makeLenses' by +-- replacing a top-level invocation of 'makeLenses' in your code with: +-- +-- @dumpSplices $ makeLenses ''Foo@ +dumpSplices :: DecsQ -> DecsQ +dumpSplices x = do + ds <- x + let code = lines (pprint ds) + reportWarning ("\n" ++ unlines (map ("" ++) code)) + return ds diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/th-utilities-0.2.0.1/th-utilities.cabal new/th-utilities-0.2.1.0/th-utilities.cabal --- old/th-utilities-0.2.0.1/th-utilities.cabal 2016-08-02 12:04:52.0 +0200 +++ new/th-utilities-0.2.1.0/th-utilities.cabal 2019-01-09 06:13:28.0 +0100 @@ -1,75 +1,78 @@ --- This file has been generated from package.yaml by hpack version 0.14.0. +cabal-version: 1.12 + +-- This file has been generated from package.yaml by hpack version 0.31.1. -- -- see: https://github.com/sol/hpack +-- +-- hash: f65b38d225125ec3f0a4ec974c8bcae0ae5358894abd8c118aa1a6b3c9b457e7 -name:th-utilities -version: 0.2.0.1 -synopsis:Collection of useful functions for us
commit ghc-th-utilities for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-th-utilities for openSUSE:Factory checked in at 2018-10-25 09:06:25 Comparing /work/SRC/openSUSE:Factory/ghc-th-utilities (Old) and /work/SRC/openSUSE:Factory/.ghc-th-utilities.new (New) Package is "ghc-th-utilities" Thu Oct 25 09:06:25 2018 rev:5 rq:643474 version:0.2.0.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-th-utilities/ghc-th-utilities.changes 2018-07-24 17:23:12.403362980 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-th-utilities.new/ghc-th-utilities.changes 2018-10-25 09:06:25.830501766 +0200 @@ -1,0 +2,5 @@ +Sat Oct 20 11:32:08 UTC 2018 - Peter Simons + +- Use https URL to refer to bugs.opensuse.org. + +--- Other differences: -- ++ ghc-th-utilities.spec ++ --- /var/tmp/diff_new_pack.vWLRcw/_old 2018-10-25 09:06:26.566501327 +0200 +++ /var/tmp/diff_new_pack.vWLRcw/_new 2018-10-25 09:06:26.566501327 +0200 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ #
commit ghc-th-utilities for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-th-utilities for openSUSE:Factory checked in at 2018-07-24 17:23:11 Comparing /work/SRC/openSUSE:Factory/ghc-th-utilities (Old) and /work/SRC/openSUSE:Factory/.ghc-th-utilities.new (New) Package is "ghc-th-utilities" Tue Jul 24 17:23:11 2018 rev:4 rq:623877 version:0.2.0.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-th-utilities/ghc-th-utilities.changes 2018-05-30 12:27:38.805566812 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-th-utilities.new/ghc-th-utilities.changes 2018-07-24 17:23:12.403362980 +0200 @@ -1,0 +2,6 @@ +Wed Jul 18 14:26:45 UTC 2018 - psim...@suse.com + +- Cosmetic: replace tabs with blanks, strip trailing white space, + and update copyright headers with spec-cleaner. + +--- @@ -15 +20,0 @@ - Other differences: -- ++ ghc-th-utilities.spec ++ --- /var/tmp/diff_new_pack.ghEJgh/_old 2018-07-24 17:23:12.943363670 +0200 +++ /var/tmp/diff_new_pack.ghEJgh/_new 2018-07-24 17:23:12.943363670 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-th-utilities # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed
commit ghc-th-utilities for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-th-utilities for openSUSE:Factory checked in at 2018-05-30 12:21:08 Comparing /work/SRC/openSUSE:Factory/ghc-th-utilities (Old) and /work/SRC/openSUSE:Factory/.ghc-th-utilities.new (New) Package is "ghc-th-utilities" Wed May 30 12:21:08 2018 rev:3 rq:609826 version:0.2.0.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-th-utilities/ghc-th-utilities.changes 2017-09-15 22:18:54.432308446 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-th-utilities.new/ghc-th-utilities.changes 2018-05-30 12:27:38.805566812 +0200 @@ -1,0 +2,5 @@ +Wed May 16 14:36:29 UTC 2018 - psim...@suse.com + +- Prefer the new %license attribute over %doc. + +--- Other differences: -- ++ ghc-th-utilities.spec ++ --- /var/tmp/diff_new_pack.Rt0t6s/_old 2018-05-30 12:27:39.449544272 +0200 +++ /var/tmp/diff_new_pack.Rt0t6s/_new 2018-05-30 12:27:39.457543993 +0200 @@ -75,7 +75,7 @@ %ghc_pkg_recache %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files %doc ChangeLog.md README.md
commit ghc-th-utilities for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-th-utilities for openSUSE:Factory checked in at 2017-09-15 22:18:53 Comparing /work/SRC/openSUSE:Factory/ghc-th-utilities (Old) and /work/SRC/openSUSE:Factory/.ghc-th-utilities.new (New) Package is "ghc-th-utilities" Fri Sep 15 22:18:53 2017 rev:2 rq:525533 version:0.2.0.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-th-utilities/ghc-th-utilities.changes 2017-04-14 13:33:29.259288903 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-th-utilities.new/ghc-th-utilities.changes 2017-09-15 22:18:54.432308446 +0200 @@ -1,0 +2,5 @@ +Thu Aug 3 15:38:38 UTC 2017 - psim...@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +--- Other differences: -- ++ ghc-th-utilities.spec ++ --- /var/tmp/diff_new_pack.2FOBMU/_old 2017-09-15 22:18:55.004227885 +0200 +++ /var/tmp/diff_new_pack.2FOBMU/_new 2017-09-15 22:18:55.004227885 +0200 @@ -23,8 +23,8 @@ Release:0 Summary:Collection of useful functions for use with Template Haskell License:MIT -Group: Development/Languages/Other -Url:https://hackage.haskell.org/package/%{pkg_name} +Group: Development/Libraries/Haskell +URL:https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-bytestring-devel @@ -37,7 +37,6 @@ BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-text-devel BuildRequires: ghc-th-orphans-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-hspec-devel BuildRequires: ghc-vector-devel @@ -48,7 +47,7 @@ %package devel Summary:Haskell %{pkg_name} library development files -Group: Development/Libraries/Other +Group: Development/Libraries/Haskell Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} @@ -76,11 +75,9 @@ %ghc_pkg_recache %files -f %{name}.files -%defattr(-,root,root,-) %doc LICENSE %files devel -f %{name}-devel.files -%defattr(-,root,root,-) %doc ChangeLog.md README.md %changelog
commit ghc-th-utilities for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-th-utilities for openSUSE:Factory checked in at 2017-04-14 13:33:27 Comparing /work/SRC/openSUSE:Factory/ghc-th-utilities (Old) and /work/SRC/openSUSE:Factory/.ghc-th-utilities.new (New) Package is "ghc-th-utilities" Fri Apr 14 13:33:27 2017 rev:1 rq:480537 version:0.2.0.1 Changes: New Changes file: --- /dev/null 2017-03-01 00:40:19.279048016 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-th-utilities.new/ghc-th-utilities.changes 2017-04-14 13:33:29.259288903 +0200 @@ -0,0 +1,5 @@ +--- +Thu Feb 16 11:38:29 UTC 2017 - psim...@suse.com + +- Update to version 0.2.0.1 with cabal2obs. + New: ghc-th-utilities.changes ghc-th-utilities.spec th-utilities-0.2.0.1.tar.gz Other differences: -- ++ ghc-th-utilities.spec ++ # # spec file for package ghc-th-utilities # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %global pkg_name th-utilities %bcond_with tests Name: ghc-%{pkg_name} Version:0.2.0.1 Release:0 Summary:Collection of useful functions for use with Template Haskell License:MIT Group: Development/Languages/Other Url:https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-filepath-devel BuildRequires: ghc-primitive-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-syb-devel BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-text-devel BuildRequires: ghc-th-orphans-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-hspec-devel BuildRequires: ghc-vector-devel %endif %description Collection of useful functions for use with Template Haskell. %package devel Summary:Haskell %{pkg_name} library development files Group: Development/Libraries/Other Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} %description devel This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} %build %ghc_lib_build %install %ghc_lib_install %check %cabal_test %post devel %ghc_pkg_recache %postun devel %ghc_pkg_recache %files -f %{name}.files %defattr(-,root,root,-) %doc LICENSE %files devel -f %{name}-devel.files %defattr(-,root,root,-) %doc ChangeLog.md README.md %changelog