Hello community, here is the log from the commit of package ghc-safe for openSUSE:Factory checked in at 2017-07-06 00:03:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-safe (Old) and /work/SRC/openSUSE:Factory/.ghc-safe.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-safe" Thu Jul 6 00:03:36 2017 rev:6 rq:508037 version:0.3.15 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-safe/ghc-safe.changes 2017-03-14 10:05:55.365680893 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-safe.new/ghc-safe.changes 2017-07-06 00:03:37.240429673 +0200 @@ -1,0 +2,5 @@ +Sun Jun 25 18:41:42 UTC 2017 - [email protected] + +- Update to version 0.3.15. + +------------------------------------------------------------------- Old: ---- safe-0.3.14.tar.gz New: ---- safe-0.3.15.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-safe.spec ++++++ --- /var/tmp/diff_new_pack.T9T3nK/_old 2017-07-06 00:03:38.516249938 +0200 +++ /var/tmp/diff_new_pack.T9T3nK/_new 2017-07-06 00:03:38.520249374 +0200 @@ -19,7 +19,7 @@ %global pkg_name safe %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.3.14 +Version: 0.3.15 Release: 0 Summary: Library of safe (exception free) functions License: BSD-3-Clause ++++++ safe-0.3.14.tar.gz -> safe-0.3.15.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/safe-0.3.14/CHANGES.txt new/safe-0.3.15/CHANGES.txt --- old/safe-0.3.14/CHANGES.txt 2017-02-15 14:25:26.000000000 +0100 +++ new/safe-0.3.15/CHANGES.txt 2017-06-18 20:46:30.000000000 +0200 @@ -1,5 +1,7 @@ Changelog for Safe +0.3.15 + Support QuickCheck 2.10 0.3.14 #20, fix for GHC 7.10.1 0.3.13 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/safe-0.3.14/README.md new/safe-0.3.15/README.md --- old/safe-0.3.14/README.md 2017-02-15 14:25:26.000000000 +0100 +++ new/safe-0.3.15/README.md 2017-06-18 20:46:30.000000000 +0200 @@ -1,4 +1,4 @@ -# Safe [](https://hackage.haskell.org/package/safe) [](https://travis-ci.org/ndmitchell/safe) +# Safe [](https://hackage.haskell.org/package/safe) [](https://travis-ci.org/ndmitchell/safe) A library wrapping `Prelude`/`Data.List` functions that can throw exceptions, such as `head` and `!!`. Each unsafe function has up to four variants, e.g. with `tail`: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/safe-0.3.14/Test.hs new/safe-0.3.15/Test.hs --- old/safe-0.3.14/Test.hs 2017-02-15 14:25:26.000000000 +0100 +++ new/safe-0.3.15/Test.hs 2017-06-18 20:46:30.000000000 +0200 @@ -58,6 +58,7 @@ f "take" takeExact takeExactMay takeExactNote t f "drop" dropExact dropExactMay dropExactNote d f "splitAt" splitAtExact splitAtExactMay splitAtExactNote (t, d) + return True take 2 (zipExact [1,2,3] [1,2]) === [(1,1),(2,2)] zipExact [d1,2,3] [d1,2] `errs` ["Safe.Exact.zipExact","first list is longer than the second"] @@ -83,6 +84,7 @@ may xs ys === Nothing f "zip" zipExact zipExactMay zipExactNote f "zipWith" (zipWithExact (,)) (zipWithExactMay (,)) (`zipWithExactNote` (,)) + return True take 2 (zip3Exact [1,2,3] [1,2,3] [1,2]) === [(1,1,1),(2,2,2)] zip3Exact [d1,2] [d1,2,3] [d1,2,3] `errs` ["Safe.Exact.zip3Exact","first list is shorter than the others"] @@ -105,6 +107,7 @@ may xs ys zs === Nothing f "zip3" zip3Exact zip3ExactMay zip3ExactNote f "zipWith3" (zipWith3Exact (,,)) (zipWith3ExactMay (,,)) (flip zipWith3ExactNote (,,)) + return True --------------------------------------------------------------------- @@ -147,8 +150,5 @@ instance Arbitrary a => Arbitrary (List10 a) where arbitrary = do i <- choose (0, 10); fmap List10 $ vector i -instance Testable () where - property () = property True - instance Testable a => Testable (IO a) where property = property . unsafePerformIO diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/safe-0.3.14/safe.cabal new/safe-0.3.15/safe.cabal --- old/safe-0.3.14/safe.cabal 2017-02-15 14:25:26.000000000 +0100 +++ new/safe-0.3.15/safe.cabal 2017-06-18 20:46:30.000000000 +0200 @@ -1,7 +1,7 @@ cabal-version: >= 1.18 build-type: Simple name: safe -version: 0.3.14 +version: 0.3.15 license: BSD3 license-file: LICENSE category: Unclassified
