commit ghc-extra for openSUSE:Factory

2020-09-27 Thread root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2020-09-27 11:48:53

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new.4249 (New)


Package is "ghc-extra"

Sun Sep 27 11:48:53 2020 rev:30 rq:835598 version:1.7.8

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2020-09-07 
21:22:53.125037194 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new.4249/ghc-extra.changes
2020-09-27 11:48:57.947991043 +0200
@@ -1,0 +2,7 @@
+Sat Sep 12 16:17:48 UTC 2020 - psim...@suse.com
+
+- Update extra to version 1.7.8.
+  1.7.8, released 2020-09-12
+  #68, make sure Data.Foldable.Extra is exposed
+
+---

Old:

  extra-1.7.7.tar.gz

New:

  extra-1.7.8.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.bRqwVQ/_old  2020-09-27 11:48:58.51746 +0200
+++ /var/tmp/diff_new_pack.bRqwVQ/_new  2020-09-27 11:48:58.51746 +0200
@@ -19,7 +19,7 @@
 %global pkg_name extra
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.7.7
+Version:1.7.8
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause

++ extra-1.7.7.tar.gz -> extra-1.7.8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.7.7/CHANGES.txt new/extra-1.7.8/CHANGES.txt
--- old/extra-1.7.7/CHANGES.txt 2020-08-25 22:12:34.0 +0200
+++ new/extra-1.7.8/CHANGES.txt 2020-09-12 15:00:17.0 +0200
@@ -1,5 +1,7 @@
 Changelog for Extra
 
+1.7.8, released 2020-09-12
+#68, make sure Data.Foldable.Extra is exposed
 1.7.7, released 2020-08-25
 #67, defer to System.IO readFile', hGetContents' in GHC 9.0
 1.7.6, released 2020-08-21
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.7.7/Generate.hs new/extra-1.7.8/Generate.hs
--- old/extra-1.7.7/Generate.hs 2020-08-12 10:14:32.0 +0200
+++ new/extra-1.7.8/Generate.hs 2020-09-12 14:06:51.0 +0200
@@ -19,7 +19,7 @@
 main = do
 src <- readFile "extra.cabal"
 let mods = filter (isSuffixOf ".Extra") $ map trim $ lines src
-ifaces <- forM mods $ \mod -> do
+ifaces <- forM (mods \\ exclude) $ \mod -> do
 src <- readFile $ joinPath ("src" : split (== '.') mod) <.> "hs"
 let funcs = filter validIdentifier $ takeWhile (/= "where") $
 words $ replace "," " " $ drop1 $ dropWhile (/= '(') $
@@ -69,10 +69,12 @@
 when (Just x /= old) $
 writeFileBinary file x
 
+exclude :: [String]
+exclude = ["Data.Foldable.Extra"] -- because all their imports clash
+
 hidden :: String -> [String]
-hidden "Data.List.NonEmpty.Extra" = [ "cons", "snoc", "sortOn", "union", 
"unionBy"
-, "nubOrd", "nubOrdBy", "nubOrdOn"
-]
+hidden "Data.List.NonEmpty.Extra" = words
+"cons snoc sortOn union unionBy nubOrd nubOrdBy nubOrdOn"
 hidden _ = []
 
 notHidden :: String -> String -> Bool
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.7.7/extra.cabal new/extra-1.7.8/extra.cabal
--- old/extra-1.7.7/extra.cabal 2020-08-25 22:13:22.0 +0200
+++ new/extra-1.7.8/extra.cabal 2020-09-12 15:00:02.0 +0200
@@ -1,7 +1,7 @@
 cabal-version:  >= 1.18
 build-type: Simple
 name:   extra
-version:1.7.7
+version:1.7.8
 license:BSD3
 license-file:   LICENSE
 category:   Development
@@ -47,6 +47,7 @@
 Control.Concurrent.Extra
 Control.Exception.Extra
 Control.Monad.Extra
+Data.Foldable.Extra
 Data.Either.Extra
 Data.IORef.Extra
 Data.List.Extra
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.7.7/src/Data/Foldable/Extra.hs 
new/extra-1.7.8/src/Data/Foldable/Extra.hs
--- old/extra-1.7.7/src/Data/Foldable/Extra.hs  1970-01-01 01:00:00.0 
+0100
+++ new/extra-1.7.8/src/Data/Foldable/Extra.hs  2020-09-12 14:10:14.0 
+0200
@@ -0,0 +1,56 @@
+module Data.Foldable.Extra
+( module Data.Foldable
+, sum'
+, product'
+, sumOn'
+, productOn'
+, anyM
+, allM
+, orM
+, andM
+, findM
+, firstJustM
+) where
+
+import Data.Foldable
+import qualified Control.Monad.Extra as MX
+
+-- | A generalization of 'Data.List.Extra.sum'' to 'Foldable' instances.
+sum' :: (Foldable f, Num a) => f a -> a
+sum' = foldl' (+) 0
+
+-- | A generalization of 'Data.List.Extra.product'' to 'Foldable' 

commit ghc-extra for openSUSE:Factory

2020-09-07 Thread root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2020-09-07 21:22:47

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new.3399 (New)


Package is "ghc-extra"

Mon Sep  7 21:22:47 2020 rev:29 rq:831333 version:1.7.7

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2020-08-28 
21:32:25.968640082 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new.3399/ghc-extra.changes
2020-09-07 21:22:53.125037194 +0200
@@ -1,0 +2,7 @@
+Wed Aug 26 02:02:13 UTC 2020 - psim...@suse.com
+
+- Update extra to version 1.7.7.
+  1.7.7, released 2020-08-25
+  #67, defer to System.IO readFile', hGetContents' in GHC 9.0
+
+---

Old:

  extra-1.7.6.tar.gz

New:

  extra-1.7.7.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.sGYIUK/_old  2020-09-07 21:22:56.121038568 +0200
+++ /var/tmp/diff_new_pack.sGYIUK/_new  2020-09-07 21:22:56.121038568 +0200
@@ -19,7 +19,7 @@
 %global pkg_name extra
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.7.6
+Version:1.7.7
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause

++ extra-1.7.6.tar.gz -> extra-1.7.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.7.6/CHANGES.txt new/extra-1.7.7/CHANGES.txt
--- old/extra-1.7.6/CHANGES.txt 2020-08-21 22:30:19.0 +0200
+++ new/extra-1.7.7/CHANGES.txt 2020-08-25 22:12:34.0 +0200
@@ -1,5 +1,7 @@
 Changelog for Extra
 
+1.7.7, released 2020-08-25
+#67, defer to System.IO readFile', hGetContents' in GHC 9.0
 1.7.6, released 2020-08-21
 #66, add lots of functions to Data.Foldable.Extra (anyM etc)
 1.7.5, released 2020-08-12
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.7.6/extra.cabal new/extra-1.7.7/extra.cabal
--- old/extra-1.7.6/extra.cabal 2020-08-21 22:30:24.0 +0200
+++ new/extra-1.7.7/extra.cabal 2020-08-25 22:13:22.0 +0200
@@ -1,7 +1,7 @@
 cabal-version:  >= 1.18
 build-type: Simple
 name:   extra
-version:1.7.6
+version:1.7.7
 license:BSD3
 license-file:   LICENSE
 category:   Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.7.6/src/System/IO/Extra.hs 
new/extra-1.7.7/src/System/IO/Extra.hs
--- old/extra-1.7.6/src/System/IO/Extra.hs  2020-02-28 10:28:02.0 
+0100
+++ new/extra-1.7.7/src/System/IO/Extra.hs  2020-08-25 21:57:09.0 
+0200
@@ -1,4 +1,5 @@
-{-# LANGUAGE ScopedTypeVariables #-}
+{-# LANGUAGE ScopedTypeVariables, CPP #-}
+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
 
 -- | More IO functions. The functions include ones for reading files with 
specific encodings,
 --   strictly reading files, and writing files with encodings. There are also 
some simple
@@ -61,6 +62,9 @@
 
 -- Strict file reading
 
+#if __GLASGOW_HASKELL__ < 811
+-- readFile' and hGetContents' were added in GHC 9.0
+
 -- | A strict version of 'hGetContents'.
 hGetContents' :: Handle -> IO String
 hGetContents' h = do
@@ -76,6 +80,8 @@
 readFile' :: FilePath -> IO String
 readFile' file = withFile file ReadMode hGetContents'
 
+#endif
+
 -- | A strict version of 'readFileEncoding', see 'readFile'' for details.
 readFileEncoding' :: TextEncoding -> FilePath -> IO String
 readFileEncoding' e file = withFile file ReadMode $ \h -> hSetEncoding h e >> 
hGetContents' h




commit ghc-extra for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2020-08-28 21:32:23

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new.3399 (New)


Package is "ghc-extra"

Fri Aug 28 21:32:23 2020 rev:28 rq:829270 version:1.7.6

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2020-07-21 
15:53:08.120496483 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new.3399/ghc-extra.changes
2020-08-28 21:32:25.968640082 +0200
@@ -1,0 +2,20 @@
+Sat Aug 22 02:01:49 UTC 2020 - psim...@suse.com
+
+- Update extra to version 1.7.6.
+  1.7.6, released 2020-08-21
+  #66, add lots of functions to Data.Foldable.Extra (anyM etc)
+
+---
+Tue Aug 18 10:44:48 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---
+Thu Aug 13 02:00:26 UTC 2020 - psim...@suse.com
+
+- Update extra to version 1.7.5.
+  1.7.5, released 2020-08-12
+  #65, add Data.Foldable.Extra
+  #65, add sum', product', sumOn' and productOn'
+
+---

Old:

  extra-1.7.4.tar.gz

New:

  extra-1.7.6.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.MEHDve/_old  2020-08-28 21:32:26.548640357 +0200
+++ /var/tmp/diff_new_pack.MEHDve/_new  2020-08-28 21:32:26.552640359 +0200
@@ -19,7 +19,7 @@
 %global pkg_name extra
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.7.4
+Version:1.7.6
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause
@@ -60,7 +60,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

++ extra-1.7.4.tar.gz -> extra-1.7.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.7.4/CHANGES.txt new/extra-1.7.6/CHANGES.txt
--- old/extra-1.7.4/CHANGES.txt 2020-07-15 22:39:09.0 +0200
+++ new/extra-1.7.6/CHANGES.txt 2020-08-21 22:30:19.0 +0200
@@ -1,5 +1,10 @@
 Changelog for Extra
 
+1.7.6, released 2020-08-21
+#66, add lots of functions to Data.Foldable.Extra (anyM etc)
+1.7.5, released 2020-08-12
+#65, add Data.Foldable.Extra
+#65, add sum', product', sumOn' and productOn'
 1.7.4, released 2020-07-15
 #59, add whileJustM and untilJustM
 #61, optimise nubOrd (10% or so)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.7.4/README.md new/extra-1.7.6/README.md
--- old/extra-1.7.4/README.md   2019-04-22 20:25:59.0 +0200
+++ new/extra-1.7.6/README.md   2020-08-03 22:29:28.0 +0200
@@ -21,3 +21,7 @@
 ## Base versions
 
 A mapping between `base` versions and GHC compiler versions can be found 
[here](https://wiki.haskell.org/Base_package#Versions).
+
+## Contributing
+
+My general contribution preferences are [available 
here](https://github.com/ndmitchell/neil#contributions). In addition, this repo 
contains some generated code which is checked in, namely 
[src/Extra.hs](src/Extra.hs) and [test/TestGen.hs](test/TestGen.hs). You can 
generate those files by either running `runhaskell Generate.hs` or `ghci` 
(which uses the [`.ghci` file](.ghci)) and typing `:generate`. All PR's should 
contain regenerated versions of those files.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.7.4/extra.cabal new/extra-1.7.6/extra.cabal
--- old/extra-1.7.4/extra.cabal 2020-07-15 22:38:49.0 +0200
+++ new/extra-1.7.6/extra.cabal 2020-08-21 22:30:24.0 +0200
@@ -1,7 +1,7 @@
 cabal-version:  >= 1.18
 build-type: Simple
 name:   extra
-version:1.7.4
+version:1.7.6
 license:BSD3
 license-file:   LICENSE
 category:   Development
@@ -15,7 +15,7 @@
 The module "Extra" documents all functions provided by this library. 
Modules such as "Data.List.Extra" provide extra functions over "Data.List" and 
also reexport "Data.List". Users are recommended to replace "Data.List" imports 
with "Data.List.Extra" if they need the extra functionality.
 homepage:   https://github.com/ndmitchell/extra#readme
 bug-reports:https://github.com/ndmitchell/extra/issues
-tested-with:GHC==8.10.1, GHC==8.8.3, GHC==8.6.5, GHC==8.4.4, 
GHC==8.2.2, GHC==8.0.2
+tested-with:GHC==8.10, GHC==8.8, GHC==8.6, GHC==8.4, GHC==8.2, GHC==8.0
 
 

commit ghc-extra for openSUSE:Factory

2020-07-21 Thread root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2020-07-21 15:50:20

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new.3592 (New)


Package is "ghc-extra"

Tue Jul 21 15:50:20 2020 rev:27 rq:822045 version:1.7.4

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2020-06-19 
17:12:45.826026437 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new.3592/ghc-extra.changes
2020-07-21 15:53:08.120496483 +0200
@@ -1,0 +2,9 @@
+Thu Jul 16 02:00:23 UTC 2020 - psim...@suse.com
+
+- Update extra to version 1.7.4.
+  1.7.4, released 2020-07-15
+  #59, add whileJustM and untilJustM
+  #61, optimise nubOrd (10% or so)
+  Add first3, second3, third3
+
+---

Old:

  extra-1.7.3.tar.gz

New:

  extra-1.7.4.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.TCWeat/_old  2020-07-21 15:53:09.640498332 +0200
+++ /var/tmp/diff_new_pack.TCWeat/_new  2020-07-21 15:53:09.644498336 +0200
@@ -19,7 +19,7 @@
 %global pkg_name extra
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.7.3
+Version:1.7.4
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause

++ extra-1.7.3.tar.gz -> extra-1.7.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.7.3/CHANGES.txt new/extra-1.7.4/CHANGES.txt
--- old/extra-1.7.3/CHANGES.txt 2020-05-31 00:28:28.0 +0200
+++ new/extra-1.7.4/CHANGES.txt 2020-07-15 22:39:09.0 +0200
@@ -1,5 +1,9 @@
 Changelog for Extra
 
+1.7.4, released 2020-07-15
+#59, add whileJustM and untilJustM
+#61, optimise nubOrd (10% or so)
+Add first3, second3, third3
 1.7.3, released 2020-05-30
 #58, add disjointOrd and disjointOrdBy
 1.7.2, released 2020-05-25
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.7.3/extra.cabal new/extra-1.7.4/extra.cabal
--- old/extra-1.7.3/extra.cabal 2020-05-31 00:28:33.0 +0200
+++ new/extra-1.7.4/extra.cabal 2020-07-15 22:38:49.0 +0200
@@ -1,7 +1,7 @@
 cabal-version:  >= 1.18
 build-type: Simple
 name:   extra
-version:1.7.3
+version:1.7.4
 license:BSD3
 license-file:   LICENSE
 category:   Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.7.3/src/Control/Concurrent/Extra.hs 
new/extra-1.7.4/src/Control/Concurrent/Extra.hs
--- old/extra-1.7.3/src/Control/Concurrent/Extra.hs 2020-05-25 
13:50:36.0 +0200
+++ new/extra-1.7.4/src/Control/Concurrent/Extra.hs 2020-07-15 
22:38:55.0 +0200
@@ -88,7 +88,7 @@
 --
 -- @
 -- lock <- 'newLock'
--- let output = 'withLock' . putStrLn
+-- let output = 'withLock' lock . putStrLn
 -- forkIO $ do ...; output \"hello\"
 -- forkIO $ do ...; output \"world\"
 -- @
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.7.3/src/Control/Monad/Extra.hs 
new/extra-1.7.4/src/Control/Monad/Extra.hs
--- old/extra-1.7.3/src/Control/Monad/Extra.hs  2020-02-28 10:30:04.0 
+0100
+++ new/extra-1.7.4/src/Control/Monad/Extra.hs  2020-07-15 22:38:55.0 
+0200
@@ -11,7 +11,7 @@
 unit,
 maybeM, fromMaybeM, eitherM,
 -- * Loops
-loop, loopM, whileM,
+loop, loopM, whileM, whileJustM, untilJustM,
 -- * Lists
 partitionM, concatMapM, concatForM, mconcatMapM, mapMaybeM, findM, 
firstJustM,
 fold1M, fold1M_,
@@ -160,6 +160,26 @@
 b <- act
 when b $ whileM act
 
+-- | Keep running an operation until it becomes a 'Nothing', accumulating the
+--   monoid results inside the 'Just's as the result of the overall loop.
+whileJustM :: (Monad m, Monoid a) => m (Maybe a) -> m a
+whileJustM act = go mempty
+  where
+go accum = do
+res <- act
+case res of
+Nothing -> pure accum
+Just r -> go $! (accum <> r) -- strict apply, otherwise space leaks
+
+-- | Keep running an operation until it becomes a 'Just', then return the value
+--   inside the 'Just' as the result of the overall loop.
+untilJustM :: Monad m => m (Maybe a) -> m a
+untilJustM act = do
+res <- act
+case res of
+Just r  -> pure r
+Nothing -> untilJustM act
+
 -- Booleans
 
 -- | Like 'when', but where the test can be monadic.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.7.3/src/Data/List/Extra.hs 
new/extra-1.7.4/src/Data/List/Extra.hs
--- 

commit ghc-extra for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2020-06-19 17:12:42

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new.3606 (New)


Package is "ghc-extra"

Fri Jun 19 17:12:42 2020 rev:26 rq:815089 version:1.7.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2020-05-11 
13:35:30.720382829 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new.3606/ghc-extra.changes
2020-06-19 17:12:45.826026437 +0200
@@ -1,0 +2,13 @@
+Tue Jun  9 09:10:56 UTC 2020 - psim...@suse.com
+
+- Update extra to version 1.7.3.
+  1.7.3, released 2020-05-30
+  #58, add disjointOrd and disjointOrdBy
+  1.7.2, released 2020-05-25
+  #56, add zipWithLongest
+  #57, make duration in MonadIO
+  Simplify and optimise Barrier
+  Mark modules that are empty as DEPRECATED
+  Remove support for GHC 7.10
+
+---

Old:

  extra-1.7.1.tar.gz

New:

  extra-1.7.3.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.IVWWnW/_old  2020-06-19 17:12:46.646029181 +0200
+++ /var/tmp/diff_new_pack.IVWWnW/_new  2020-06-19 17:12:46.650029194 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-extra
 #
-# 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
@@ -19,7 +19,7 @@
 %global pkg_name extra
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.7.1
+Version:1.7.3
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause
@@ -31,7 +31,6 @@
 BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-process-devel
 BuildRequires:  ghc-rpm-macros
-BuildRequires:  ghc-semigroups-devel
 BuildRequires:  ghc-time-devel
 BuildRequires:  ghc-unix-devel
 %if %{with tests}

++ extra-1.7.1.tar.gz -> extra-1.7.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.7.1/CHANGES.txt new/extra-1.7.3/CHANGES.txt
--- old/extra-1.7.1/CHANGES.txt 2020-03-10 23:59:31.0 +0100
+++ new/extra-1.7.3/CHANGES.txt 2020-05-31 00:28:28.0 +0200
@@ -1,5 +1,13 @@
 Changelog for Extra
 
+1.7.3, released 2020-05-30
+#58, add disjointOrd and disjointOrdBy
+1.7.2, released 2020-05-25
+#56, add zipWithLongest
+#57, make duration in MonadIO
+Simplify and optimise Barrier
+Mark modules that are empty as DEPRECATED
+Remove support for GHC 7.10
 1.7.1, released 2020-03-10
 Add NOINLINE to errorIO to work around a GHC 8.4 bug
 1.7, released 2020-03-05
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.7.1/extra.cabal new/extra-1.7.3/extra.cabal
--- old/extra-1.7.1/extra.cabal 2020-03-10 23:59:36.0 +0100
+++ new/extra-1.7.3/extra.cabal 2020-05-31 00:28:33.0 +0200
@@ -1,7 +1,7 @@
 cabal-version:  >= 1.18
 build-type: Simple
 name:   extra
-version:1.7.1
+version:1.7.3
 license:BSD3
 license-file:   LICENSE
 category:   Development
@@ -15,7 +15,7 @@
 The module "Extra" documents all functions provided by this library. 
Modules such as "Data.List.Extra" provide extra functions over "Data.List" and 
also reexport "Data.List". Users are recommended to replace "Data.List" imports 
with "Data.List.Extra" if they need the extra functionality.
 homepage:   https://github.com/ndmitchell/extra#readme
 bug-reports:https://github.com/ndmitchell/extra/issues
-tested-with:GHC==8.8.1, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, 
GHC==8.0.2, GHC==7.10.3
+tested-with:GHC==8.10.1, GHC==8.8.3, GHC==8.6.5, GHC==8.4.4, 
GHC==8.2.2, GHC==8.0.2
 
 extra-doc-files:
 CHANGES.txt
@@ -31,13 +31,11 @@
 default-language: Haskell2010
 hs-source-dirs: src
 build-depends:
-base >= 4.8 && < 5,
+base >= 4.9 && < 5,
 directory,
 filepath,
 process,
 clock >= 0.7,
--- For GHC 7.10 since Data.List.NonEmpty wasn't in base then
-semigroups,
 time
 if !os(windows)
 build-depends: unix
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.7.1/src/Control/Concurrent/Extra.hs 
new/extra-1.7.3/src/Control/Concurrent/Extra.hs
--- old/extra-1.7.1/src/Control/Concurrent/Extra.hs 2020-02-28 
10:29:17.0 +0100
+++ new/extra-1.7.3/src/Control/Concurrent/Extra.hs 2020-05-25 

commit ghc-extra for openSUSE:Factory

2020-05-11 Thread root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2020-05-11 13:34:50

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new.2738 (New)


Package is "ghc-extra"

Mon May 11 13:34:50 2020 rev:25 rq:801017 version:1.7.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2020-03-09 
14:16:07.998615344 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new.2738/ghc-extra.changes
2020-05-11 13:35:30.720382829 +0200
@@ -1,0 +2,13 @@
+Wed May  6 06:54:11 UTC 2020 - psim...@suse.com
+
+- Update extra to version 1.7.1.
+  1.7.1, released 2020-03-10
+  Add NOINLINE to errorIO to work around a GHC 8.4 bug
+  1.7, released 2020-03-05
+  *   #40, delete deprecated function for
+  *   zipFrom now truncates lists, rather than error, just like zip
+  1.6.21, released 2020-03-02
+  #54, deprecate nubOn since its O(n^2). Use nubOrdOn
+  #53, add some nub functions to NonEmpty
+
+---

Old:

  extra-1.6.20.tar.gz

New:

  extra-1.7.1.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.iviTdt/_old  2020-05-11 13:35:31.264383969 +0200
+++ /var/tmp/diff_new_pack.iviTdt/_new  2020-05-11 13:35:31.268383977 +0200
@@ -19,7 +19,7 @@
 %global pkg_name extra
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.6.20
+Version:1.7.1
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause
@@ -36,6 +36,7 @@
 BuildRequires:  ghc-unix-devel
 %if %{with tests}
 BuildRequires:  ghc-QuickCheck-devel
+BuildRequires:  ghc-quickcheck-instances-devel
 %endif
 
 %description

++ extra-1.6.20.tar.gz -> extra-1.7.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.20/CHANGES.txt new/extra-1.7.1/CHANGES.txt
--- old/extra-1.6.20/CHANGES.txt2020-02-16 14:17:13.0 +0100
+++ new/extra-1.7.1/CHANGES.txt 2020-03-10 23:59:31.0 +0100
@@ -1,5 +1,13 @@
 Changelog for Extra
 
+1.7.1, released 2020-03-10
+Add NOINLINE to errorIO to work around a GHC 8.4 bug
+1.7, released 2020-03-05
+*   #40, delete deprecated function for
+*   zipFrom now truncates lists, rather than error, just like zip
+1.6.21, released 2020-03-02
+#54, deprecate nubOn since its O(n^2). Use nubOrdOn
+#53, add some nub functions to NonEmpty
 1.6.20, released 2020-02-16
 Add firstM, secondM
 1.6.19, released 2020-02-11
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.20/Generate.hs new/extra-1.7.1/Generate.hs
--- old/extra-1.6.20/Generate.hs2019-04-22 20:25:59.0 +0200
+++ new/extra-1.7.1/Generate.hs 2020-03-02 10:33:57.0 +0100
@@ -25,7 +25,7 @@
 words $ replace "," " " $ drop1 $ dropWhile (/= '(') $
 unlines $ filter (\x -> not $ any (`isPrefixOf` trim x) 
["--","#"]) $ lines src
 let tests = mapMaybe (stripPrefix "-- > ") $ lines src
-return (mod, funcs, tests)
+pure (mod, funcs, tests)
 writeFileBinaryChanged "src/Extra.hs" $ unlines $
 ["-- GENERATED CODE - DO NOT MODIFY"
 ,"-- See Generate.hs for details of how to generate"
@@ -49,6 +49,9 @@
 ,"{-# LANGUAGE ExtendedDefaultRules, ScopedTypeVariables, ViewPatterns 
#-}"
 ,"module TestGen(tests) where"
 ,"import TestUtil"
+,"import qualified Data.List"
+,"import qualified Data.List.NonEmpty.Extra"
+,"import Test.QuickCheck.Instances.Semigroup ()"
 ,"default(Maybe Bool,Int,Double,Maybe (Maybe Bool),Maybe (Maybe Char))"
 ,"tests :: IO ()"
 ,"tests = do"] ++
@@ -62,12 +65,14 @@
 writeFileBinaryChanged :: FilePath -> String -> IO ()
 writeFileBinaryChanged file x = do
 evaluate $ length x -- ensure we don't write out files with _|_ in them
-old <- ifM (doesFileExist file) (Just <$> readFileBinary' file) (return 
Nothing)
+old <- ifM (doesFileExist file) (Just <$> readFileBinary' file) (pure 
Nothing)
 when (Just x /= old) $
 writeFileBinary file x
 
 hidden :: String -> [String]
-hidden "Data.List.NonEmpty.Extra" = ["cons", "snoc", "sortOn", "union", 
"unionBy"]
+hidden "Data.List.NonEmpty.Extra" = [ "cons", "snoc", "sortOn", "union", 
"unionBy"
+, "nubOrd", "nubOrdBy", "nubOrdOn"
+]
 hidden _ = []
 
 notHidden :: String -> String -> Bool
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.20/extra.cabal 

commit ghc-extra for openSUSE:Factory

2020-03-09 Thread root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2020-03-09 14:16:04

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new.26092 (New)


Package is "ghc-extra"

Mon Mar  9 14:16:04 2020 rev:24 rq:780017 version:1.6.20

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2019-12-27 
13:53:31.756662965 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new.26092/ghc-extra.changes   
2020-03-09 14:16:07.998615344 +0100
@@ -1,0 +2,9 @@
+Thu Feb 27 14:18:04 UTC 2020 - psim...@suse.com
+
+- Update extra to version 1.6.20.
+  1.6.20, released 2020-02-16
+  Add firstM, secondM
+  1.6.19, released 2020-02-11
+  #50, add headDef, lastDef, and dropEnd1
+
+---

Old:

  extra-1.6.18.tar.gz

New:

  extra-1.6.20.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.ygKQnA/_old  2020-03-09 14:16:08.782615861 +0100
+++ /var/tmp/diff_new_pack.ygKQnA/_new  2020-03-09 14:16:08.786615863 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-extra
 #
-# 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 extra
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.6.18
+Version:1.6.20
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause

++ extra-1.6.18.tar.gz -> extra-1.6.20.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.18/CHANGES.txt new/extra-1.6.20/CHANGES.txt
--- old/extra-1.6.18/CHANGES.txt2019-08-21 14:58:59.0 +0200
+++ new/extra-1.6.20/CHANGES.txt2020-02-16 14:17:13.0 +0100
@@ -1,5 +1,9 @@
 Changelog for Extra
 
+1.6.20, released 2020-02-16
+Add firstM, secondM
+1.6.19, released 2020-02-11
+#50, add headDef, lastDef, and dropEnd1
 1.6.18, released 2019-08-21
 Make errorIO include a call stack
 Make maximumOn and minimumOn apply the function once per element
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.18/LICENSE new/extra-1.6.20/LICENSE
--- old/extra-1.6.18/LICENSE2019-02-25 16:47:08.0 +0100
+++ new/extra-1.6.20/LICENSE2020-02-10 14:40:40.0 +0100
@@ -1,4 +1,4 @@
-Copyright Neil Mitchell 2014-2019.
+Copyright Neil Mitchell 2014-2020.
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.18/extra.cabal new/extra-1.6.20/extra.cabal
--- old/extra-1.6.18/extra.cabal2019-08-21 14:59:07.0 +0200
+++ new/extra-1.6.20/extra.cabal2020-02-16 14:17:19.0 +0100
@@ -1,13 +1,13 @@
 cabal-version:  >= 1.18
 build-type: Simple
 name:   extra
-version:1.6.18
+version:1.6.20
 license:BSD3
 license-file:   LICENSE
 category:   Development
 author: Neil Mitchell 
 maintainer: Neil Mitchell 
-copyright:  Neil Mitchell 2014-2019
+copyright:  Neil Mitchell 2014-2020
 synopsis:   Extra functions I use.
 description:
 A library of extra functions for the standard Haskell libraries. Most 
functions are simple additions, filling out missing functionality. A few 
functions are available in later versions of GHC, but this package makes them 
available back to GHC 7.2.
@@ -15,7 +15,7 @@
 The module "Extra" documents all functions provided by this library. 
Modules such as "Data.List.Extra" provide extra functions over "Data.List" and 
also reexport "Data.List". Users are recommended to replace "Data.List" imports 
with "Data.List.Extra" if they need the extra functionality.
 homepage:   https://github.com/ndmitchell/extra#readme
 bug-reports:https://github.com/ndmitchell/extra/issues
-tested-with:GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3
+tested-with:GHC==8.8.1, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, 
GHC==8.0.2, GHC==7.10.3
 
 extra-doc-files:
 CHANGES.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.18/src/Control/Concurrent/Extra.hs 
new/extra-1.6.20/src/Control/Concurrent/Extra.hs
--- old/extra-1.6.18/src/Control/Concurrent/Extra.hs2019-02-25 

commit ghc-extra for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2019-12-27 13:53:30

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new.6675 (New)


Package is "ghc-extra"

Fri Dec 27 13:53:30 2019 rev:23 rq:759395 version:1.6.18

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2019-08-24 
18:44:13.301769949 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new.6675/ghc-extra.changes
2019-12-27 13:53:31.756662965 +0100
@@ -1,0 +2,5 @@
+Fri Nov  8 16:13:43 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.OJqbqG/_old  2019-12-27 13:53:32.624663384 +0100
+++ /var/tmp/diff_new_pack.OJqbqG/_new  2019-12-27 13:53:32.624663384 +0100
@@ -23,7 +23,6 @@
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause
-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
@@ -52,7 +51,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}




commit ghc-extra for openSUSE:Factory

2019-08-24 Thread root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2019-08-24 18:44:13

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new.7948 (New)


Package is "ghc-extra"

Sat Aug 24 18:44:13 2019 rev:22 rq:725519 version:1.6.18

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2019-06-12 
13:18:38.368569734 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new.7948/ghc-extra.changes
2019-08-24 18:44:13.301769949 +0200
@@ -1,0 +2,8 @@
+Thu Aug 22 02:02:21 UTC 2019 - psim...@suse.com
+
+- Update extra to version 1.6.18.
+  1.6.18, released 2019-08-21
+  Make errorIO include a call stack
+  Make maximumOn and minimumOn apply the function once per element
+
+---

Old:

  extra-1.6.17.tar.gz

New:

  extra-1.6.18.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.9e6PeI/_old  2019-08-24 18:44:13.865769895 +0200
+++ /var/tmp/diff_new_pack.9e6PeI/_new  2019-08-24 18:44:13.865769895 +0200
@@ -19,7 +19,7 @@
 %global pkg_name extra
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.6.17
+Version:1.6.18
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause

++ extra-1.6.17.tar.gz -> extra-1.6.18.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.17/CHANGES.txt new/extra-1.6.18/CHANGES.txt
--- old/extra-1.6.17/CHANGES.txt2019-05-31 23:19:21.0 +0200
+++ new/extra-1.6.18/CHANGES.txt2019-08-21 14:58:59.0 +0200
@@ -1,5 +1,8 @@
 Changelog for Extra
 
+1.6.18, released 2019-08-21
+Make errorIO include a call stack
+Make maximumOn and minimumOn apply the function once per element
 1.6.17, released 2019-05-31
 Add enumerate
 1.6.16, released 2019-05-25
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.17/extra.cabal new/extra-1.6.18/extra.cabal
--- old/extra-1.6.17/extra.cabal2019-05-31 23:19:32.0 +0200
+++ new/extra-1.6.18/extra.cabal2019-08-21 14:59:07.0 +0200
@@ -1,7 +1,7 @@
 cabal-version:  >= 1.18
 build-type: Simple
 name:   extra
-version:1.6.17
+version:1.6.18
 license:BSD3
 license-file:   LICENSE
 category:   Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.17/src/Control/Exception/Extra.hs 
new/extra-1.6.18/src/Control/Exception/Extra.hs
--- old/extra-1.6.17/src/Control/Exception/Extra.hs 2019-02-25 
16:56:30.0 +0100
+++ new/extra-1.6.18/src/Control/Exception/Extra.hs 2019-08-21 
16:07:02.0 +0200
@@ -21,6 +21,10 @@
 catchBool, handleBool, tryBool
 ) where
 
+#if __GLASGOW_HASKELL__ >= 800
+import GHC.Stack
+#endif
+
 import Control.Exception
 import Control.Monad
 import Data.List.Extra
@@ -68,11 +72,16 @@
 
 
 -- | Like error, but in the 'IO' monad.
---   Note that while 'fail' in 'IO' raises an 'IOException', this function 
raises an 'ErrorCall' exception.
+--   Note that while 'fail' in 'IO' raises an 'IOException', this function 
raises an 'ErrorCall' exception with a call stack.
 --
--- > try (errorIO "Hello") == return (Left (ErrorCall "Hello"))
+-- > catch (errorIO "Hello") (\(ErrorCall x) -> return x) == return "Hello"
 errorIO :: Partial => String -> IO a
-errorIO = throwIO . ErrorCall
+errorIO x = withFrozenCallStack $ evaluate $ error x
+
+#if __GLASGOW_HASKELL__ < 800
+withFrozenCallStack :: a -> a
+withFrozenCallStack = id
+#endif
 
 
 -- | Retry an operation at most /n/ times (/n/ must be positive).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.17/src/Data/List/Extra.hs 
new/extra-1.6.18/src/Data/List/Extra.hs
--- old/extra-1.6.17/src/Data/List/Extra.hs 2019-05-31 22:05:33.0 
+0200
+++ new/extra-1.6.18/src/Data/List/Extra.hs 2019-06-17 12:23:14.0 
+0200
@@ -364,12 +364,33 @@
 nubOn f = map snd . nubBy ((==) `on` fst) . map (\x -> let y = f x in y `seq` 
(y, x))
 
 -- | A version of 'maximum' where the comparison is done on some extracted 
value.
-maximumOn :: Ord b => (a -> b) -> [a] -> a
-maximumOn f = maximumBy (compare `on` f)
+--   Raises an error if the list is empty. Only calls the function once per 
element.
+--
+-- > maximumOn id [] == undefined
+-- > maximumOn length ["test","extra","a"] == "extra"
+maximumOn :: (Partial, Ord b) => (a -> b) -> [a] -> a
+maximumOn f [] = error "Data.List.Extra.maximumOn: empty 

commit ghc-extra for openSUSE:Factory

2019-06-12 Thread root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2019-06-12 13:18:38

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new.4811 (New)


Package is "ghc-extra"

Wed Jun 12 13:18:38 2019 rev:21 rq:709200 version:1.6.17

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2019-04-28 
20:12:47.294443281 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new.4811/ghc-extra.changes
2019-06-12 13:18:38.368569734 +0200
@@ -1,0 +2,14 @@
+Sat Jun  1 02:02:09 UTC 2019 - psim...@suse.com
+
+- Update extra to version 1.6.17.
+  1.6.17, released 2019-05-31
+  Add enumerate
+
+---
+Sun May 26 09:26:57 UTC 2019 - psim...@suse.com
+
+- Update extra to version 1.6.16.
+  1.6.16, released 2019-05-25
+  Add atomicModifyIORef_ and atomicModifyIORef'_
+
+---

Old:

  extra-1.6.15.tar.gz

New:

  extra-1.6.17.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.rtoi06/_old  2019-06-12 13:18:38.780569546 +0200
+++ /var/tmp/diff_new_pack.rtoi06/_new  2019-06-12 13:18:38.792569540 +0200
@@ -19,7 +19,7 @@
 %global pkg_name extra
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.6.15
+Version:1.6.17
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause

++ extra-1.6.15.tar.gz -> extra-1.6.17.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.15/CHANGES.txt new/extra-1.6.17/CHANGES.txt
--- old/extra-1.6.15/CHANGES.txt2019-04-22 20:26:14.0 +0200
+++ new/extra-1.6.17/CHANGES.txt2019-05-31 23:19:21.0 +0200
@@ -1,5 +1,9 @@
 Changelog for Extra
 
+1.6.17, released 2019-05-31
+Add enumerate
+1.6.16, released 2019-05-25
+Add atomicModifyIORef_ and atomicModifyIORef'_
 1.6.15, released 2019-04-22
 #45, add NonEmpty.Extra for extra appending functions
 #42, add fromMaybeM
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.15/extra.cabal new/extra-1.6.17/extra.cabal
--- old/extra-1.6.15/extra.cabal2019-04-22 20:32:36.0 +0200
+++ new/extra-1.6.17/extra.cabal2019-05-31 23:19:32.0 +0200
@@ -1,7 +1,7 @@
 cabal-version:  >= 1.18
 build-type: Simple
 name:   extra
-version:1.6.15
+version:1.6.17
 license:BSD3
 license-file:   LICENSE
 category:   Development
@@ -15,7 +15,7 @@
 The module "Extra" documents all functions provided by this library. 
Modules such as "Data.List.Extra" provide extra functions over "Data.List" and 
also reexport "Data.List". Users are recommended to replace "Data.List" imports 
with "Data.List.Extra" if they need the extra functionality.
 homepage:   https://github.com/ndmitchell/extra#readme
 bug-reports:https://github.com/ndmitchell/extra/issues
-tested-with:GHC==8.6.4, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3
+tested-with:GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3
 
 extra-doc-files:
 CHANGES.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.15/src/Data/IORef/Extra.hs 
new/extra-1.6.17/src/Data/IORef/Extra.hs
--- old/extra-1.6.15/src/Data/IORef/Extra.hs2019-02-25 16:55:23.0 
+0100
+++ new/extra-1.6.17/src/Data/IORef/Extra.hs2019-05-25 09:45:31.0 
+0200
@@ -3,7 +3,8 @@
 --   Some of these functions are available in later versions of GHC, but not 
all.
 module Data.IORef.Extra(
 module Data.IORef,
-writeIORef', atomicWriteIORef'
+writeIORef', atomicWriteIORef',
+atomicModifyIORef_, atomicModifyIORef'_
 ) where
 
 import Data.IORef
@@ -21,3 +22,12 @@
 atomicWriteIORef' ref x = do
 evaluate x
 atomicWriteIORef ref x
+
+
+-- | Variant of 'atomicModifyIORef' which ignores the return value
+atomicModifyIORef_ :: IORef a -> (a -> a) -> IO ()
+atomicModifyIORef_ r f = atomicModifyIORef r $ \v -> (f v, ())
+
+-- | Variant of 'atomicModifyIORef'' which ignores the return value
+atomicModifyIORef'_ :: IORef a -> (a -> a) -> IO ()
+atomicModifyIORef'_ r f = atomicModifyIORef' r $ \v -> (f v, ())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.15/src/Data/List/Extra.hs 
new/extra-1.6.17/src/Data/List/Extra.hs
--- old/extra-1.6.15/src/Data/List/Extra.hs 2019-02-25 16:59:08.0 
+0100
+++ new/extra-1.6.17/src/Data/List/Extra.hs 

commit ghc-extra for openSUSE:Factory

2019-04-28 Thread root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2019-04-28 20:12:35

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new.5536 (New)


Package is "ghc-extra"

Sun Apr 28 20:12:35 2019 rev:20 rq:698549 version:1.6.15

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2018-12-21 
08:21:26.117569095 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new.5536/ghc-extra.changes
2019-04-28 20:12:47.294443281 +0200
@@ -1,0 +2,9 @@
+Tue Apr 23 02:01:56 UTC 2019 - psim...@suse.com
+
+- Update extra to version 1.6.15.
+  1.6.15, released 2019-04-22
+  #45, add NonEmpty.Extra for extra appending functions
+  #42, add fromMaybeM
+  Remove support for GHC 7.4, 7.6 and 7.8
+
+---

Old:

  extra-1.6.14.tar.gz

New:

  extra-1.6.15.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.IJzstb/_old  2019-04-28 20:12:48.286442665 +0200
+++ /var/tmp/diff_new_pack.IJzstb/_new  2019-04-28 20:12:48.286442665 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-extra
 #
-# 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 extra
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.6.14
+Version:1.6.15
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause
@@ -32,6 +32,7 @@
 BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-process-devel
 BuildRequires:  ghc-rpm-macros
+BuildRequires:  ghc-semigroups-devel
 BuildRequires:  ghc-time-devel
 BuildRequires:  ghc-unix-devel
 %if %{with tests}

++ extra-1.6.14.tar.gz -> extra-1.6.15.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.14/CHANGES.txt new/extra-1.6.15/CHANGES.txt
--- old/extra-1.6.14/CHANGES.txt2018-12-10 20:24:13.0 +0100
+++ new/extra-1.6.15/CHANGES.txt2019-04-22 20:26:14.0 +0200
@@ -1,5 +1,9 @@
 Changelog for Extra
 
+1.6.15, released 2019-04-22
+#45, add NonEmpty.Extra for extra appending functions
+#42, add fromMaybeM
+Remove support for GHC 7.4, 7.6 and 7.8
 1.6.14, released 2018-12-10
 Add mapLeft and mapRight
 1.6.13, released 2018-10-14
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.14/Generate.hs new/extra-1.6.15/Generate.hs
--- old/extra-1.6.14/Generate.hs2017-11-24 12:54:00.0 +0100
+++ new/extra-1.6.15/Generate.hs2019-04-22 20:25:59.0 +0200
@@ -37,11 +37,11 @@
 ,"module Extra {-# DEPRECATED \"This module is provided as 
documentation of all new functions, you should import the more specific modules 
directly.\" #-} ("] ++
 concat [ ["-- * " ++ mod
  ,"-- | Extra functions available in @" ++ show mod ++ "@."
- ,"" ++ unwords (map (++",") funs)]
-   | (mod,funs,_) <- ifaces] ++
+ ,"" ++ unwords (map (++",") $ filter (notHidden mod) 
funs)]
+   | (mod,funs@(_:_),_) <- ifaces] ++
 [") where"
 ,""] ++
-["import " ++ x | x <- mods]
+["import " ++ addHiding mod | (mod,_:_,_) <- ifaces]
 writeFileBinaryChanged "test/TestGen.hs" $ unlines $
 ["-- GENERATED CODE - DO NOT MODIFY"
 ,"-- See Generate.hs for details of how to generate"
@@ -66,6 +66,17 @@
 when (Just x /= old) $
 writeFileBinary file x
 
+hidden :: String -> [String]
+hidden "Data.List.NonEmpty.Extra" = ["cons", "snoc", "sortOn", "union", 
"unionBy"]
+hidden _ = []
+
+notHidden :: String -> String -> Bool
+notHidden mod fun = fun `notElem` hidden mod
+
+addHiding :: String -> String
+addHiding mod
+  | xs@(_:_) <- hidden mod = mod ++ " hiding (" ++ intercalate ", " xs ++ ")"
+  | otherwise = mod
 
 validIdentifier xs =
 (take 1 xs == "(" || isName (takeWhile (/= '(') xs)) &&
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.14/LICENSE new/extra-1.6.15/LICENSE
--- old/extra-1.6.14/LICENSE2018-01-21 17:16:40.0 +0100
+++ new/extra-1.6.15/LICENSE2019-02-25 16:47:08.0 +0100
@@ -1,4 +1,4 @@
-Copyright Neil Mitchell 2014-2018.
+Copyright Neil Mitchell 2014-2019.
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
diff -urN 

commit ghc-extra for openSUSE:Factory

2018-12-20 Thread root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2018-12-21 08:21:09

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new.28833 (New)


Package is "ghc-extra"

Fri Dec 21 08:21:09 2018 rev:19 rq:658075 version:1.6.14

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2018-10-25 
08:17:10.956048678 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new.28833/ghc-extra.changes   
2018-12-21 08:21:26.117569095 +0100
@@ -1,0 +2,7 @@
+Tue Dec 11 03:01:57 UTC 2018 - psim...@suse.com
+
+- Update extra to version 1.6.14.
+  1.6.14, released 2018-12-10
+  Add mapLeft and mapRight
+
+---

Old:

  extra-1.6.13.tar.gz

New:

  extra-1.6.14.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.YgsvsE/_old  2018-12-21 08:21:26.509568727 +0100
+++ /var/tmp/diff_new_pack.YgsvsE/_new  2018-12-21 08:21:26.513568724 +0100
@@ -19,7 +19,7 @@
 %global pkg_name extra
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.6.13
+Version:1.6.14
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause

++ extra-1.6.13.tar.gz -> extra-1.6.14.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.13/CHANGES.txt new/extra-1.6.14/CHANGES.txt
--- old/extra-1.6.13/CHANGES.txt2018-10-14 18:09:12.0 +0200
+++ new/extra-1.6.14/CHANGES.txt2018-12-10 20:24:13.0 +0100
@@ -1,5 +1,7 @@
 Changelog for Extra
 
+1.6.14, released 2018-12-10
+Add mapLeft and mapRight
 1.6.13, released 2018-10-14
 #40, deprecate Data.List.Extra.for (clashes with Traversable)
 1.6.12, released 2018-09-24
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.13/extra.cabal new/extra-1.6.14/extra.cabal
--- old/extra-1.6.13/extra.cabal2018-10-14 18:09:12.0 +0200
+++ new/extra-1.6.14/extra.cabal2018-12-10 20:24:24.0 +0100
@@ -1,7 +1,7 @@
 cabal-version:  >= 1.18
 build-type: Simple
 name:   extra
-version:1.6.13
+version:1.6.14
 license:BSD3
 license-file:   LICENSE
 category:   Development
@@ -15,7 +15,7 @@
 The module "Extra" documents all functions provided by this library. 
Modules such as "Data.List.Extra" provide extra functions over "Data.List" and 
also reexport "Data.List". Users are recommended to replace "Data.List" imports 
with "Data.List.Extra" if they need the extra functionality.
 homepage:   https://github.com/ndmitchell/extra#readme
 bug-reports:https://github.com/ndmitchell/extra/issues
-tested-with:GHC==8.6.1, GHC==8.4.3, GHC==8.2.2, GHC==8.0.2, 
GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2
+tested-with:GHC==8.6.3, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, 
GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2
 
 extra-doc-files:
 CHANGES.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.13/src/Control/Concurrent/Extra.hs 
new/extra-1.6.14/src/Control/Concurrent/Extra.hs
--- old/extra-1.6.13/src/Control/Concurrent/Extra.hs2018-10-14 
18:09:12.0 +0200
+++ new/extra-1.6.14/src/Control/Concurrent/Extra.hs2018-12-10 
15:33:37.0 +0100
@@ -5,13 +5,13 @@
 --
 --   This module includes three new types of 'MVar', namely 'Lock' (no 
associated value),
 --   'Var' (never empty) and 'Barrier' (filled at most once). See
---   
+--   
 --   for examples and justification.
 --
 --   If you need greater control of exceptions and threads
---   see the  
package.
+--   see the  
package.
 --   If you need elaborate relationships between threads
---   see the  package.
+--   see the  package.
 module Control.Concurrent.Extra(
 module Control.Concurrent,
 getNumCapabilities, setNumCapabilities, withNumCapabilities,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.13/src/Control/Exception/Extra.hs 
new/extra-1.6.14/src/Control/Exception/Extra.hs
--- old/extra-1.6.13/src/Control/Exception/Extra.hs 2018-10-14 
18:09:12.0 +0200
+++ new/extra-1.6.14/src/Control/Exception/Extra.hs 2018-12-10 
15:34:38.0 +0100
@@ -4,6 +4,9 @@
 -- | Extra functions 

commit ghc-extra for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2018-10-25 08:16:08

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new (New)


Package is "ghc-extra"

Thu Oct 25 08:16:08 2018 rev:18 rq:642857 version:1.6.13

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2018-07-24 
17:18:36.451009111 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new/ghc-extra.changes 2018-10-25 
08:17:10.956048678 +0200
@@ -1,0 +2,18 @@
+Mon Oct 15 02:01:21 UTC 2018 - psim...@suse.com
+
+- Update extra to version 1.6.13.
+  1.6.13, released 2018-10-14
+  #40, deprecate Data.List.Extra.for (clashes with Traversable)
+
+---
+Thu Oct  4 09:43:02 UTC 2018 - psim...@suse.com
+
+- Update extra to version 1.6.12.
+  1.6.12, released 2018-09-24
+  #39, add curry3/uncurry3
+  1.6.11, released 2018-09-18
+  #38, make escapeHTML replace ' with 
+  1.6.10, released 2018-09-04
+  #37, make a duration/sleep test more robust (wider bounds)
+
+---

Old:

  extra-1.6.9.tar.gz

New:

  extra-1.6.13.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.ZP6IgC/_old  2018-10-25 08:17:11.648048376 +0200
+++ /var/tmp/diff_new_pack.ZP6IgC/_new  2018-10-25 08:17:11.672048365 +0200
@@ -12,14 +12,14 @@
 # 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/
 #
 
 
 %global pkg_name extra
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.6.9
+Version:1.6.13
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause

++ extra-1.6.9.tar.gz -> extra-1.6.13.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.9/CHANGES.txt new/extra-1.6.13/CHANGES.txt
--- old/extra-1.6.9/CHANGES.txt 2018-07-12 23:36:55.0 +0200
+++ new/extra-1.6.13/CHANGES.txt2018-10-14 18:09:12.0 +0200
@@ -1,5 +1,13 @@
 Changelog for Extra
 
+1.6.13, released 2018-10-14
+#40, deprecate Data.List.Extra.for (clashes with Traversable)
+1.6.12, released 2018-09-24
+#39, add curry3/uncurry3
+1.6.11, released 2018-09-18
+#38, make escapeHTML replace ' with 
+1.6.10, released 2018-09-04
+#37, make a duration/sleep test more robust (wider bounds)
 1.6.9, released 2018-07-12
 Add loop, the non-monadic version of loopM
 #36, add whenMaybe and whenMaybeM
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.9/extra.cabal new/extra-1.6.13/extra.cabal
--- old/extra-1.6.9/extra.cabal 2018-07-12 23:36:55.0 +0200
+++ new/extra-1.6.13/extra.cabal2018-10-14 18:09:12.0 +0200
@@ -1,7 +1,7 @@
 cabal-version:  >= 1.18
 build-type: Simple
 name:   extra
-version:1.6.9
+version:1.6.13
 license:BSD3
 license-file:   LICENSE
 category:   Development
@@ -15,7 +15,7 @@
 The module "Extra" documents all functions provided by this library. 
Modules such as "Data.List.Extra" provide extra functions over "Data.List" and 
also reexport "Data.List". Users are recommended to replace "Data.List" imports 
with "Data.List.Extra" if they need the extra functionality.
 homepage:   https://github.com/ndmitchell/extra#readme
 bug-reports:https://github.com/ndmitchell/extra/issues
-tested-with:GHC==8.4.3, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, 
GHC==7.8.4, GHC==7.6.3, GHC==7.4.2
+tested-with:GHC==8.6.1, GHC==8.4.3, GHC==8.2.2, GHC==8.0.2, 
GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2
 
 extra-doc-files:
 CHANGES.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.9/src/Data/List/Extra.hs 
new/extra-1.6.13/src/Data/List/Extra.hs
--- old/extra-1.6.9/src/Data/List/Extra.hs  2018-07-12 23:36:55.0 
+0200
+++ new/extra-1.6.13/src/Data/List/Extra.hs 2018-10-14 18:09:12.0 
+0200
@@ -57,9 +57,10 @@
 where (b, as') = f as
 
 
--- | Flipped version of 'map'.
+-- | /DEPRECATED/ Use @flip map@ directly, since this function clashes with 
@Data.Traversable.for@.
 --
--- > for [1,2,3] (+1) == [2,3,4]
+--   Flipped version of 'map'.
+{-# DEPRECATED for "Use flip map directly, since this function clashes with 
Data.Traversable.for" #-}
 for :: [a] -> (a -> b) -> [b]
 for = 

commit ghc-extra for openSUSE:Factory

2018-07-24 Thread root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2018-07-24 17:18:32

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new (New)


Package is "ghc-extra"

Tue Jul 24 17:18:32 2018 rev:17 rq:623768 version:1.6.9

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2018-05-30 
12:25:37.937684616 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new/ghc-extra.changes 2018-07-24 
17:18:36.451009111 +0200
@@ -1,0 +2,25 @@
+Wed Jul 18 14:26:23 UTC 2018 - psim...@suse.com
+
+- Cosmetic: replace tabs with blanks, strip trailing white space,
+  and update copyright headers with spec-cleaner.
+
+---
+Tue Jul 17 19:31:05 UTC 2018 - psim...@suse.com
+
+- Update extra to version 1.6.9.
+  1.6.9, released 2018-07-12
+  Add loop, the non-monadic version of loopM
+  #36, add whenMaybe and whenMaybeM
+
+---
+Fri Jul 13 14:31:51 UTC 2018 - psim...@suse.com
+
+- Update extra to version 1.6.8.
+  1.6.8, released 2018-05-24
+  Add notNull
+  Add listDirectories
+  1.6.7, released 2018-05-23
+  #35, add fold1M and fold1M_
+  #34, lots of documentation typos
+
+---
@@ -128 +152,0 @@
-

Old:

  extra-1.6.6.tar.gz

New:

  extra-1.6.9.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.dv34dO/_old  2018-07-24 17:18:36.883009667 +0200
+++ /var/tmp/diff_new_pack.dv34dO/_new  2018-07-24 17:18:36.887009672 +0200
@@ -19,7 +19,7 @@
 %global pkg_name extra
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.6.6
+Version:1.6.9
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause

++ extra-1.6.6.tar.gz -> extra-1.6.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.6/CHANGES.txt new/extra-1.6.9/CHANGES.txt
--- old/extra-1.6.6/CHANGES.txt 2018-04-16 22:51:31.0 +0200
+++ new/extra-1.6.9/CHANGES.txt 2018-07-12 23:36:55.0 +0200
@@ -1,5 +1,14 @@
 Changelog for Extra
 
+1.6.9, released 2018-07-12
+Add loop, the non-monadic version of loopM
+#36, add whenMaybe and whenMaybeM
+1.6.8, released 2018-05-24
+Add notNull
+Add listDirectories
+1.6.7, released 2018-05-23
+#35, add fold1M and fold1M_
+#34, lots of documentation typos
 1.6.6, released 2018-04-16
 Add escapeJSON and unescapeJSON
 Add escapeHTML and unescapeHTML
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.6/README.md new/extra-1.6.9/README.md
--- old/extra-1.6.6/README.md   2018-04-16 22:51:31.0 +0200
+++ new/extra-1.6.9/README.md   2018-07-12 23:36:55.0 +0200
@@ -1,4 +1,4 @@
-# Extra [![Hackage 
version](https://img.shields.io/hackage/v/extra.svg?label=Hackage)](https://hackage.haskell.org/package/extra)
 [![Stackage 
version](https://www.stackage.org/package/extra/badge/lts?label=Stackage)](https://www.stackage.org/package/extra)
 [![Linux Build 
Status](https://img.shields.io/travis/ndmitchell/extra.svg?label=Linux%20build)](https://travis-ci.org/ndmitchell/extra)
 [![Windows Build 
Status](https://img.shields.io/appveyor/ci/ndmitchell/extra.svg?label=Windows%20build)](https://ci.appveyor.com/project/ndmitchell/extra)
+# Extra [![Hackage 
version](https://img.shields.io/hackage/v/extra.svg?label=Hackage)](https://hackage.haskell.org/package/extra)
 [![Stackage 
version](https://www.stackage.org/package/extra/badge/nightly?label=Stackage)](https://www.stackage.org/package/extra)
 [![Linux Build 
Status](https://img.shields.io/travis/ndmitchell/extra/master.svg?label=Linux%20build)](https://travis-ci.org/ndmitchell/extra)
 [![Windows Build 
Status](https://img.shields.io/appveyor/ci/ndmitchell/extra/master.svg?label=Windows%20build)](https://ci.appveyor.com/project/ndmitchell/extra)
 
 A library of extra functions for the standard Haskell libraries. Most 
functions are simple additions, filling out missing functionality. A few 
functions are available in later versions of GHC, but this package makes them 
available back to GHC 7.2. A few examples:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.6.6/extra.cabal new/extra-1.6.9/extra.cabal
--- old/extra-1.6.6/extra.cabal 2018-04-16 22:51:31.0 +0200
+++ new/extra-1.6.9/extra.cabal 2018-07-12 23:36:55.0 +0200
@@ -1,7 +1,7 @@
 cabal-version:  >= 1.18
 build-type: Simple
 name:   

commit ghc-extra for openSUSE:Factory

2018-05-30 Thread root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2018-05-30 12:07:13

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new (New)


Package is "ghc-extra"

Wed May 30 12:07:13 2018 rev:16 rq:607794 version:1.6.6

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2017-09-15 
21:39:01.577458333 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new/ghc-extra.changes 2018-05-30 
12:25:37.937684616 +0200
@@ -1,0 +2,17 @@
+Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
+
+- Update extra to version 1.6.6.
+  * Add escapeJSON and unescapeJSON
+  * Add escapeHTML and unescapeHTML
+  * #33, improve error messages on test suite failures
+  * Add dropPrefix and dropSuffix
+  * Add maximumOn and minimumOn
+  * #31, add nubSort, nubSortBy and nubSortOn
+  * Mark the partial functions with Partial
+  * Add Partial constraint
+  * Add newTempFileWithin and newTempDirWithin
+  * Mark the Extra module as deprecated, used for documentation only
+  * #23, delete subtractTime
+  * Require QuickCheck-2.10
+
+---

Old:

  extra-1.5.3.tar.gz

New:

  extra-1.6.6.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.SzQvaD/_old  2018-05-30 12:25:38.653660935 +0200
+++ /var/tmp/diff_new_pack.SzQvaD/_new  2018-05-30 12:25:38.657660803 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-extra
 #
-# 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
@@ -19,7 +19,7 @@
 %global pkg_name extra
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.5.3
+Version:1.6.6
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause
@@ -79,7 +79,7 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%doc LICENSE
+%license LICENSE
 
 %files devel -f %{name}-devel.files
 %doc CHANGES.txt README.md

++ extra-1.5.3.tar.gz -> extra-1.6.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.5.3/CHANGES.txt new/extra-1.6.6/CHANGES.txt
--- old/extra-1.5.3/CHANGES.txt 2017-06-12 23:58:38.0 +0200
+++ new/extra-1.6.6/CHANGES.txt 2018-04-16 22:51:31.0 +0200
@@ -1,92 +1,111 @@
 Changelog for Extra
 
-1.5.3
+1.6.6, released 2018-04-16
+Add escapeJSON and unescapeJSON
+Add escapeHTML and unescapeHTML
+1.6.5, released 2018-03-24
+#33, improve error messages on test suite failures
+1.6.4, released 2018-02-23
+Add dropPrefix and dropSuffix
+1.6.3, released 2018-01-26
+Add maximumOn and minimumOn
+#31, add nubSort, nubSortBy and nubSortOn
+1.6.2, released 2017-12-07
+Mark the partial functions with Partial
+Add Partial constraint
+1.6.1, released 2017-11-30
+Add newTempFileWithin and newTempDirWithin
+Mark the Extra module as deprecated, used for documentation only
+1.6, released 2017-06-16
+#23, delete subtractTime
+Require QuickCheck-2.10
+1.5.3, released 2017-06-12
 Add readMaybe, readEither
-1.5.2
+1.5.2, released 2017-04-04
 Add errorWithoutStackTrace to Control.Exception.Extra
-1.5.1
+1.5.1, released 2016-10-25
 #25, add zipFrom and zipWithFrom
 #24, add eitherToMaybe and maybeToEither
 Add fromLeft' and fromRight'
-1.5
+1.5, released 2016-07-21
 Change fromLeft/fromRight signatures to follow the base libraries
-1.4.12
+1.4.12, released 2016-07-18
 Add writeVar
-1.4.11
+1.4.11, released 2016-07-15
 Require QuickCheck 2.9
 #23, deprecate offsetTimeIncrease and subtract
 #22, improve offsetTime to give reliable measurements
 Depend on the clock library
-1.4.10
+1.4.10, released 2016-06-15
 Add Data.Typeable.Extra containing typeRep, Proxy, (:~:)
-1.4.9
+1.4.9, released 2016-06-01
 Add line1
-1.4.8
+1.4.8, released 2016-05-26
 Add displayException
-1.4.7
+1.4.7, released 2016-05-22
 #21, add concatForM
-1.4.6
+1.4.6, released 2016-05-11
 #11, add maybeM and eitherM
-1.4.5
+1.4.5, released 2016-04-29
 #17, change fileEq on files that do not exist to be an error
-1.4.4
+1.4.4, released 2016-04-29
 #14, add mconcatMap and mconcatMapM
 #16, add fileEq
 #15, add isMac
-1.4.3
+1.4.3, released 2016-01-07
 Add Data.Version.Extra
-1.4.2
+1.4.2, released 2015-09-14
 Make concatMapM/mapMaybeM faster
-1.4.1
+1.4.1, released 2015-08-04
 Make temp file functions workaround GHC bug #10731
 Add retryBool
-1.4
+1.4, 

commit ghc-extra for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2017-09-15 21:39:00

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new (New)


Package is "ghc-extra"

Fri Sep 15 21:39:00 2017 rev:15 rq:524498 version:1.5.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2017-07-05 
23:58:51.328707230 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new/ghc-extra.changes 2017-09-15 
21:39:01.577458333 +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-extra.spec ++
--- /var/tmp/diff_new_pack.ohN4Wa/_old  2017-09-15 21:39:02.457334361 +0200
+++ /var/tmp/diff_new_pack.ohN4Wa/_new  2017-09-15 21:39:02.465333234 +0200
@@ -23,8 +23,8 @@
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause
-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-clock-devel
@@ -34,7 +34,6 @@
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-time-devel
 BuildRequires:  ghc-unix-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-QuickCheck-devel
 %endif
@@ -52,7 +51,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}
@@ -80,11 +79,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc CHANGES.txt README.md
 
 %changelog




commit ghc-extra for openSUSE:Factory

2017-07-05 Thread root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2017-07-05 23:58:49

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new (New)


Package is "ghc-extra"

Wed Jul  5 23:58:49 2017 rev:14 rq:506806 version:1.5.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2017-05-06 
18:28:30.924845386 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new/ghc-extra.changes 2017-07-05 
23:58:51.328707230 +0200
@@ -1,0 +2,5 @@
+Mon Jun 19 21:01:51 UTC 2017 - psim...@suse.com
+
+- Update to version 1.5.3.
+
+---

Old:

  extra-1.5.2.tar.gz

New:

  extra-1.5.3.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.3CaCWv/_old  2017-07-05 23:58:52.692515109 +0200
+++ /var/tmp/diff_new_pack.3CaCWv/_new  2017-07-05 23:58:52.704513420 +0200
@@ -19,7 +19,7 @@
 %global pkg_name extra
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.5.2
+Version:1.5.3
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause

++ extra-1.5.2.tar.gz -> extra-1.5.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.5.2/CHANGES.txt new/extra-1.5.3/CHANGES.txt
--- old/extra-1.5.2/CHANGES.txt 2017-04-04 19:11:24.0 +0200
+++ new/extra-1.5.3/CHANGES.txt 2017-06-12 23:58:38.0 +0200
@@ -1,5 +1,7 @@
 Changelog for Extra
 
+1.5.3
+Add readMaybe, readEither
 1.5.2
 Add errorWithoutStackTrace to Control.Exception.Extra
 1.5.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.5.2/Generate.hs new/extra-1.5.3/Generate.hs
--- old/extra-1.5.2/Generate.hs 2017-04-04 19:11:24.0 +0200
+++ new/extra-1.5.3/Generate.hs 2017-06-12 23:58:38.0 +0200
@@ -6,18 +6,18 @@
 import Data.List.Extra
 import System.IO.Extra
 import Control.Monad.Extra
-import Control.Applicative
 import System.FilePath
 import System.Directory
 import Data.Char
 import Data.Maybe
+import Data.Functor
 import Prelude
 
 
 main :: IO ()
 main = do
 src <- readFile "extra.cabal"
-mods <- return $ filter (isSuffixOf ".Extra") $ map trim $ lines src
+let mods = filter (isSuffixOf ".Extra") $ map trim $ lines src
 ifaces <- forM mods $ \mod -> do
 src <- readFile $ joinPath ("src" : split (== '.') mod) <.> "hs"
 let funcs = filter validIdentifier $ takeWhile (/= "where") $
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.5.2/extra.cabal new/extra-1.5.3/extra.cabal
--- old/extra-1.5.2/extra.cabal 2017-04-04 19:11:24.0 +0200
+++ new/extra-1.5.3/extra.cabal 2017-06-12 23:58:38.0 +0200
@@ -1,7 +1,7 @@
 cabal-version:  >= 1.18
 build-type: Simple
 name:   extra
-version:1.5.2
+version:1.5.3
 license:BSD3
 license-file:   LICENSE
 category:   Development
@@ -58,6 +58,7 @@
 System.IO.Extra
 System.Process.Extra
 System.Time.Extra
+Text.Read.Extra
 
 test-suite extra-test
 type:exitcode-stdio-1.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.5.2/src/Control/Concurrent/Extra.hs 
new/extra-1.5.3/src/Control/Concurrent/Extra.hs
--- old/extra-1.5.2/src/Control/Concurrent/Extra.hs 2017-04-04 
19:11:24.0 +0200
+++ new/extra-1.5.3/src/Control/Concurrent/Extra.hs 2017-06-12 
23:58:38.0 +0200
@@ -28,6 +28,9 @@
 import Control.Exception.Extra
 import Control.Monad.Extra
 import Data.Maybe
+import Data.Either.Extra
+import Data.Functor
+import Prelude
 
 
 -- | On GHC 7.6 and above with the @-threaded@ flag, brackets a call to 
'setNumCapabilities'.
@@ -133,7 +136,7 @@
 
 -- | Create a new 'Lock'.
 newLock :: IO Lock
-newLock = fmap Lock $ newMVar ()
+newLock = Lock <$> newMVar ()
 
 -- | Perform some operation while holding 'Lock'. Will prevent all other
 --   operations from using the 'Lock' while the action is ongoing.
@@ -224,7 +227,7 @@
 -- | Write a value into the Barrier, releasing anyone at 'waitBarrier'.
 --   Any subsequent attempts to signal the 'Barrier' will throw an exception.
 signalBarrier :: Barrier a -> a -> IO ()
-signalBarrier (Barrier var) v = mask_ $ do -- use mask so never in an 
inconsistent state
+signalBarrier (Barrier var) v = mask_ $ -- use mask so never in an 
inconsistent state
 join $ modifyVar var $ \x -> case x of
 Left bar -> return (Right v, putMVar bar ())
 Right res -> error 

commit ghc-extra for openSUSE:Factory

2017-05-06 Thread root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2017-05-06 18:28:29

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new (New)


Package is "ghc-extra"

Sat May  6 18:28:29 2017 rev:13 rq:491466 version:1.5.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2017-03-14 
10:04:37.540700901 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new/ghc-extra.changes 2017-05-06 
18:28:30.924845386 +0200
@@ -1,0 +2,5 @@
+Sun Apr  9 18:08:06 UTC 2017 - psim...@suse.com
+
+- Update to version 1.5.2 with cabal2obs.
+
+---

Old:

  extra-1.5.1.tar.gz

New:

  extra-1.5.2.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.eOfWHP/_old  2017-05-06 18:28:31.668740419 +0200
+++ /var/tmp/diff_new_pack.eOfWHP/_new  2017-05-06 18:28:31.668740419 +0200
@@ -19,7 +19,7 @@
 %global pkg_name extra
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.5.1
+Version:1.5.2
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause

++ extra-1.5.1.tar.gz -> extra-1.5.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.5.1/CHANGES.txt new/extra-1.5.2/CHANGES.txt
--- old/extra-1.5.1/CHANGES.txt 2016-10-25 23:11:40.0 +0200
+++ new/extra-1.5.2/CHANGES.txt 2017-04-04 19:11:24.0 +0200
@@ -1,5 +1,7 @@
 Changelog for Extra
 
+1.5.2
+Add errorWithoutStackTrace to Control.Exception.Extra
 1.5.1
 #25, add zipFrom and zipWithFrom
 #24, add eitherToMaybe and maybeToEither
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.5.1/LICENSE new/extra-1.5.2/LICENSE
--- old/extra-1.5.1/LICENSE 2016-10-25 23:11:40.0 +0200
+++ new/extra-1.5.2/LICENSE 2017-04-04 19:11:24.0 +0200
@@ -1,4 +1,4 @@
-Copyright Neil Mitchell 2014-2016.
+Copyright Neil Mitchell 2014-2017.
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.5.1/extra.cabal new/extra-1.5.2/extra.cabal
--- old/extra-1.5.1/extra.cabal 2016-10-25 23:11:40.0 +0200
+++ new/extra-1.5.2/extra.cabal 2017-04-04 19:11:24.0 +0200
@@ -1,13 +1,13 @@
 cabal-version:  >= 1.18
 build-type: Simple
 name:   extra
-version:1.5.1
+version:1.5.2
 license:BSD3
 license-file:   LICENSE
 category:   Development
 author: Neil Mitchell 
 maintainer: Neil Mitchell 
-copyright:  Neil Mitchell 2014-2016
+copyright:  Neil Mitchell 2014-2017
 synopsis:   Extra functions I use.
 description:
 A library of extra functions for the standard Haskell libraries. Most 
functions are simple additions, filling out missing functionality. A few 
functions are available in later versions of GHC, but this package makes them 
available back to GHC 7.2.
@@ -15,7 +15,7 @@
 The module "Extra" documents all functions provided by this library. 
Modules such as "Data.List.Extra" provide extra functions over "Data.List" and 
also reexport "Data.List". Users are recommended to replace "Data.List" imports 
with "Data.List.Extra" if they need the extra functionality.
 homepage:   https://github.com/ndmitchell/extra#readme
 bug-reports:https://github.com/ndmitchell/extra/issues
-tested-with:GHC==8.0.1, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2
+tested-with:GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2
 
 extra-doc-files:
 CHANGES.txt
@@ -73,7 +73,7 @@
 if !os(windows)
 build-depends: unix
 hs-source-dirs: test
-ghc-options: -main-is Test -threaded -with-rtsopts=-N4
+ghc-options: -main-is Test -threaded "-with-rtsopts=-N4 -K1K"
 main-is:Test.hs
 other-modules:
 TestCustom
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.5.1/src/Control/Concurrent/Extra.hs 
new/extra-1.5.2/src/Control/Concurrent/Extra.hs
--- old/extra-1.5.1/src/Control/Concurrent/Extra.hs 2016-10-25 
23:11:40.0 +0200
+++ new/extra-1.5.2/src/Control/Concurrent/Extra.hs 2017-04-04 
19:11:24.0 +0200
@@ -241,7 +241,7 @@
 x <- readVar var
 case x of
 Right res -> return res
-Left bar -> error "Cortex.Concurrent.Extra, internal invariant 
violated in 

commit ghc-extra for openSUSE:Factory

2017-03-14 Thread root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2017-03-14 10:04:36

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new (New)


Package is "ghc-extra"

Tue Mar 14 10:04:36 2017 rev:12 rq:461629 version:1.5.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2016-07-21 
08:05:58.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new/ghc-extra.changes 2017-03-14 
10:04:37.540700901 +0100
@@ -1,0 +2,5 @@
+Sun Feb 12 14:20:44 UTC 2017 - psim...@suse.com
+
+- Update to version 1.5.1 with cabal2obs.
+
+---

Old:

  extra-1.4.10.tar.gz

New:

  extra-1.5.1.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.78ANRA/_old  2017-03-14 10:04:38.008634642 +0100
+++ /var/tmp/diff_new_pack.78ANRA/_new  2017-03-14 10:04:38.012634076 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-extra
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -19,15 +19,15 @@
 %global pkg_name extra
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.4.10
+Version:1.5.1
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause
-Group:  System/Libraries
+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
-# Begin cabal-rpm deps:
+BuildRequires:  ghc-clock-devel
 BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-process-devel
@@ -38,7 +38,6 @@
 %if %{with tests}
 BuildRequires:  ghc-QuickCheck-devel
 %endif
-# End cabal-rpm deps
 
 %description
 A library of extra functions for the standard Haskell libraries. Most functions
@@ -65,20 +64,14 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache
@@ -92,6 +85,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc README.md
+%doc CHANGES.txt README.md
 
 %changelog

++ extra-1.4.10.tar.gz -> extra-1.5.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.10/CHANGES.txt new/extra-1.5.1/CHANGES.txt
--- old/extra-1.4.10/CHANGES.txt2016-06-15 20:37:00.0 +0200
+++ new/extra-1.5.1/CHANGES.txt 2016-10-25 23:11:40.0 +0200
@@ -1,5 +1,18 @@
 Changelog for Extra
 
+1.5.1
+#25, add zipFrom and zipWithFrom
+#24, add eitherToMaybe and maybeToEither
+Add fromLeft' and fromRight'
+1.5
+Change fromLeft/fromRight signatures to follow the base libraries
+1.4.12
+Add writeVar
+1.4.11
+Require QuickCheck 2.9
+#23, deprecate offsetTimeIncrease and subtract
+#22, improve offsetTime to give reliable measurements
+Depend on the clock library
 1.4.10
 Add Data.Typeable.Extra containing typeRep, Proxy, (:~:)
 1.4.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.10/README.md new/extra-1.5.1/README.md
--- old/extra-1.4.10/README.md  2016-06-15 20:37:00.0 +0200
+++ new/extra-1.5.1/README.md   2016-10-25 23:11:40.0 +0200
@@ -30,3 +30,5 @@
 * base 4.6 == GHC 7.6
 * base 4.5 == GHC 7.4
 * base 4.4 == GHC 7.2
+
+A more complete list can be found 
[here](https://wiki.haskell.org/Base_package#Versions).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.10/extra.cabal new/extra-1.5.1/extra.cabal
--- old/extra-1.4.10/extra.cabal2016-06-15 20:37:00.0 +0200
+++ new/extra-1.5.1/extra.cabal 2016-10-25 23:11:40.0 +0200
@@ -1,7 +1,7 @@
-cabal-version:  >= 1.10
+cabal-version:  >= 1.18
 build-type: Simple
 name:   extra
-version:1.4.10
+version:1.5.1
 license:BSD3
 license-file:   LICENSE
 category:   Development
@@ -35,6 +35,7 @@
 directory,
 filepath,
 process,
+clock >= 0.7,
 time
 if !os(windows)
 build-depends: unix
@@ -66,8 +67,9 @@
 directory,
 filepath,
 extra,
+clock >= 0.7,
 time,
-QuickCheck
+   

commit ghc-extra for openSUSE:Factory

2016-07-21 Thread h_root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2016-07-21 08:05:51

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new (New)


Package is "ghc-extra"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2016-06-25 
02:21:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new/ghc-extra.changes 2016-07-21 
08:05:58.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:28:13 UTC 2016 - psim...@suse.com
+
+- Update to version 1.4.10 revision 0 with cabal2obs.
+
+---



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.zhVXZd/_old  2016-07-21 08:05:59.0 +0200
+++ /var/tmp/diff_new_pack.zhVXZd/_new  2016-07-21 08:05:59.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-extra
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -17,17 +17,17 @@
 
 
 %global pkg_name extra
-# no useful debuginfo for Haskell packages without C sources
 %bcond_with tests
-Name:   ghc-extra
+Name:   ghc-%{pkg_name}
 Version:1.4.10
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause
-Group:  Development/Libraries/Other
-Url:http://hackage.haskell.org/package/%{pkg_name}
-Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
+Group:  System/Libraries
+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
+# Begin cabal-rpm deps:
 BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-process-devel
@@ -38,6 +38,7 @@
 %if %{with tests}
 BuildRequires:  ghc-QuickCheck-devel
 %endif
+# End cabal-rpm deps
 
 %description
 A library of extra functions for the standard Haskell libraries. Most functions
@@ -54,6 +55,9 @@
 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.
@@ -61,22 +65,26 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
+
 %build
-%{ghc_lib_build}
+%ghc_lib_build
+
 
 %install
-%{ghc_lib_install}
+%ghc_lib_install
+
 
 %check
 %if %{with tests}
 %{cabal} test
 %endif
 
+
 %post devel
-%{ghc_pkg_recache}
+%ghc_pkg_recache
 
 %postun devel
-%{ghc_pkg_recache}
+%ghc_pkg_recache
 
 %files -f %{name}.files
 %defattr(-,root,root,-)
@@ -84,5 +92,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
+%doc README.md
 
 %changelog




commit ghc-extra for openSUSE:Factory

2016-06-24 Thread h_root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2016-06-25 02:20:53

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new (New)


Package is "ghc-extra"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2016-06-07 
23:48:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new/ghc-extra.changes 2016-06-25 
02:21:48.0 +0200
@@ -1,0 +2,6 @@
+Thu Jun 16 10:28:27 UTC 2016 - mimi...@gmail.com
+
+- update to 1.4.10
+* Add Data.Typeable.Extra containing typeRep, Proxy, (:~:)
+
+---
@@ -5 +11 @@
-* add Line 1
+* add line1

Old:

  extra-1.4.9.tar.gz

New:

  extra-1.4.10.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.zpNVAl/_old  2016-06-25 02:21:49.0 +0200
+++ /var/tmp/diff_new_pack.zpNVAl/_new  2016-06-25 02:21:49.0 +0200
@@ -20,7 +20,7 @@
 # no useful debuginfo for Haskell packages without C sources
 %bcond_with tests
 Name:   ghc-extra
-Version:1.4.9
+Version:1.4.10
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause

++ extra-1.4.9.tar.gz -> extra-1.4.10.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.9/CHANGES.txt new/extra-1.4.10/CHANGES.txt
--- old/extra-1.4.9/CHANGES.txt 2016-06-01 11:40:52.0 +0200
+++ new/extra-1.4.10/CHANGES.txt2016-06-15 20:37:00.0 +0200
@@ -1,5 +1,7 @@
 Changelog for Extra
 
+1.4.10
+Add Data.Typeable.Extra containing typeRep, Proxy, (:~:)
 1.4.9
 Add line1
 1.4.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.9/Generate.hs new/extra-1.4.10/Generate.hs
--- old/extra-1.4.9/Generate.hs 2016-06-01 11:40:52.0 +0200
+++ new/extra-1.4.10/Generate.hs2016-06-15 20:37:00.0 +0200
@@ -66,7 +66,7 @@
 
 
 validIdentifier xs =
-(take 1 xs == "(" || isName xs) &&
+(take 1 xs == "(" || isName (takeWhile (/= '(') xs)) &&
 xs `notElem` ["module","Numeric"]
 
 isName (x:xs) = isAlpha x && all (\x -> isAlphaNum x || x `elem` "_'") xs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.9/extra.cabal new/extra-1.4.10/extra.cabal
--- old/extra-1.4.9/extra.cabal 2016-06-01 11:40:52.0 +0200
+++ new/extra-1.4.10/extra.cabal2016-06-15 20:37:00.0 +0200
@@ -1,7 +1,7 @@
 cabal-version:  >= 1.10
 build-type: Simple
 name:   extra
-version:1.4.9
+version:1.4.10
 license:BSD3
 license-file:   LICENSE
 category:   Development
@@ -48,6 +48,7 @@
 Data.IORef.Extra
 Data.List.Extra
 Data.Tuple.Extra
+Data.Typeable.Extra
 Data.Version.Extra
 Numeric.Extra
 System.Directory.Extra
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.9/src/Data/Either/Extra.hs 
new/extra-1.4.10/src/Data/Either/Extra.hs
--- old/extra-1.4.9/src/Data/Either/Extra.hs2016-06-01 11:40:52.0 
+0200
+++ new/extra-1.4.10/src/Data/Either/Extra.hs   2016-06-15 20:37:00.0 
+0200
@@ -1,6 +1,9 @@
 {-# LANGUAGE CPP #-}
 {-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
 
+-- | This module extends "Data.Either" with extra operations, particularly
+--   to quickly extract from inside an 'Either'. Some of these operations are
+--   partial, and should be used with care in production-quality code.
 module Data.Either.Extra(
 module Data.Either,
 isLeft, isRight, fromLeft, fromRight, fromEither
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.9/src/Data/IORef/Extra.hs 
new/extra-1.4.10/src/Data/IORef/Extra.hs
--- old/extra-1.4.9/src/Data/IORef/Extra.hs 2016-06-01 11:40:52.0 
+0200
+++ new/extra-1.4.10/src/Data/IORef/Extra.hs2016-06-15 20:37:00.0 
+0200
@@ -1,6 +1,8 @@
 {-# LANGUAGE CPP #-}
 {-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
 
+-- | This module extends "Data.IORef" with operations forcing the value 
written to the IORef.
+--   Some of these functions are available in later versions of GHC, but not 
all.
 module Data.IORef.Extra(
 module Data.IORef,
 modifyIORef', writeIORef', atomicModifyIORef', atomicWriteIORef, 
atomicWriteIORef'
@@ -31,6 +33,8 @@
 x <- readIORef ref
 writeIORef' ref $ f x
 
+-- | Strict version of 'atomicModifyIORef'.  This forces both the value stored
+-- in the 'IORef' as well as the value 

commit ghc-extra for openSUSE:Factory

2016-06-07 Thread h_root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2016-06-07 23:48:13

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new (New)


Package is "ghc-extra"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2016-05-31 
12:25:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new/ghc-extra.changes 2016-06-07 
23:48:18.0 +0200
@@ -1,0 +2,6 @@
+Thu Jun  2 04:50:09 UTC 2016 - mimi...@gmail.com
+
+- update to 1.4.9
+* add Line 1
+
+---

Old:

  extra-1.4.8.tar.gz

New:

  extra-1.4.9.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.FDSZN4/_old  2016-06-07 23:48:19.0 +0200
+++ /var/tmp/diff_new_pack.FDSZN4/_new  2016-06-07 23:48:19.0 +0200
@@ -18,10 +18,9 @@
 
 %global pkg_name extra
 # no useful debuginfo for Haskell packages without C sources
-%global debug_package %{nil}
 %bcond_with tests
 Name:   ghc-extra
-Version:1.4.8
+Version:1.4.9
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause

++ extra-1.4.8.tar.gz -> extra-1.4.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.8/CHANGES.txt new/extra-1.4.9/CHANGES.txt
--- old/extra-1.4.8/CHANGES.txt 2016-05-26 21:39:07.0 +0200
+++ new/extra-1.4.9/CHANGES.txt 2016-06-01 11:40:52.0 +0200
@@ -1,5 +1,7 @@
 Changelog for Extra
 
+1.4.9
+Add line1
 1.4.8
 Add displayException
 1.4.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.8/extra.cabal new/extra-1.4.9/extra.cabal
--- old/extra-1.4.8/extra.cabal 2016-05-26 21:39:07.0 +0200
+++ new/extra-1.4.9/extra.cabal 2016-06-01 11:40:52.0 +0200
@@ -1,7 +1,7 @@
 cabal-version:  >= 1.10
 build-type: Simple
 name:   extra
-version:1.4.8
+version:1.4.9
 license:BSD3
 license-file:   LICENSE
 category:   Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.8/src/Data/List/Extra.hs 
new/extra-1.4.9/src/Data/List/Extra.hs
--- old/extra-1.4.8/src/Data/List/Extra.hs  2016-05-26 21:39:07.0 
+0200
+++ new/extra-1.4.9/src/Data/List/Extra.hs  2016-06-01 11:40:52.0 
+0200
@@ -8,7 +8,7 @@
 module Data.List.Extra(
 module Data.List,
 -- * String operations
-lower, upper, trim, trimStart, trimEnd, word1,
+lower, upper, trim, trimStart, trimEnd, word1, line1,
 -- * Splitting
 dropEnd, takeEnd, splitAtEnd, breakEnd, spanEnd,
 dropWhileEnd, dropWhileEnd', takeWhileEnd,
@@ -42,6 +42,7 @@
 --
 -- > \xs -> repeatedly (splitAt 3) xs  == chunksOf 3 xs
 -- > \xs -> repeatedly word1 (trim xs) == words xs
+-- > \xs -> repeatedly line1 xs == lines xs
 repeatedly :: ([a] -> (b, [a])) -> [a] -> [b]
 repeatedly f [] = []
 repeatedly f as = b : repeatedly f as'
@@ -234,7 +235,17 @@
 -- > \s -> fst (word1 s) == concat (take 1 $ words s)
 -- > \s -> words (snd $ word1 s) == drop 1 (words s)
 word1 :: String -> (String, String)
-word1 x = second (dropWhile isSpace) $ break isSpace $ dropWhile isSpace x
+word1 = second (dropWhile isSpace) . break isSpace . dropWhile isSpace
+
+-- | Split the first line off a string.
+--
+-- > line1 "" == ("", "")
+-- > line1 "test" == ("test","")
+-- > line1 "test\n" == ("test","")
+-- > line1 "test\nrest" == ("test","rest")
+-- > line1 "test\nrest\nmore" == ("test","rest\nmore")
+line1 :: String -> (String, String)
+line1 = second drop1 . break (== '\n')
 
 
 #if __GLASGOW_HASKELL__ < 709
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.8/src/Extra.hs new/extra-1.4.9/src/Extra.hs
--- old/extra-1.4.8/src/Extra.hs2016-05-26 21:39:07.0 +0200
+++ new/extra-1.4.9/src/Extra.hs2016-06-01 11:40:52.0 +0200
@@ -23,7 +23,7 @@
 modifyIORef', writeIORef', atomicModifyIORef', atomicWriteIORef, 
atomicWriteIORef',
 -- * Data.List.Extra
 -- | Extra functions available in @"Data.List.Extra"@.
-lower, upper, trim, trimStart, trimEnd, word1, dropEnd, takeEnd, 
splitAtEnd, breakEnd, spanEnd, dropWhileEnd, dropWhileEnd', takeWhileEnd, 
stripSuffix, stripInfix, stripInfixEnd, wordsBy, linesBy, breakOn, breakOnEnd, 
splitOn, split, chunksOf, list, uncons, unsnoc, cons, snoc, drop1, mconcatMap, 
groupSort, groupSortOn, groupSortBy, nubOrd, nubOrdBy, nubOrdOn, nubOn, 
groupOn, sortOn, disjoint, allSame, anySame, repeatedly, for, 

commit ghc-extra for openSUSE:Factory

2016-05-31 Thread h_root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2016-05-31 12:25:01

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new (New)


Package is "ghc-extra"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2016-05-25 
21:28:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new/ghc-extra.changes 2016-05-31 
12:25:02.0 +0200
@@ -1,0 +2,6 @@
+Mon May 30 09:49:03 UTC 2016 - mimi...@gmail.com
+
+- update to 1.4.8
+* Add displayException
+
+---

Old:

  extra-1.4.7.tar.gz

New:

  extra-1.4.8.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.sWE5rn/_old  2016-05-31 12:25:03.0 +0200
+++ /var/tmp/diff_new_pack.sWE5rn/_new  2016-05-31 12:25:03.0 +0200
@@ -21,7 +21,7 @@
 %global debug_package %{nil}
 %bcond_with tests
 Name:   ghc-extra
-Version:1.4.7
+Version:1.4.8
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause

++ extra-1.4.7.tar.gz -> extra-1.4.8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.7/CHANGES.txt new/extra-1.4.8/CHANGES.txt
--- old/extra-1.4.7/CHANGES.txt 2016-05-22 21:10:19.0 +0200
+++ new/extra-1.4.8/CHANGES.txt 2016-05-26 21:39:07.0 +0200
@@ -1,5 +1,7 @@
 Changelog for Extra
 
+1.4.8
+Add displayException
 1.4.7
 #21, add concatForM
 1.4.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.7/README.md new/extra-1.4.8/README.md
--- old/extra-1.4.7/README.md   2016-05-22 21:10:19.0 +0200
+++ new/extra-1.4.8/README.md   2016-05-26 21:39:07.0 +0200
@@ -9,6 +9,7 @@
 
 The module `Extra` documents all functions provided by this library. Modules 
such as `Data.List.Extra` provide extra functions over `Data.List` and also 
reexport `Data.List`. Users are recommended to replace `Data.List` imports with 
`Data.List.Extra` if they need the extra functionality.
 
+
 ## Which functions?
 
 When producing a library of extra functions I have been guided by a few 
principles. I encourage others with small useful utility functions contribute 
them here, perhaps as a temporary stop before proposing they join the standard 
libraries.
@@ -17,3 +18,15 @@
 * The functions follow the spirit of the original Prelude/base libraries. I am 
happy to provide partial functions (e.g. `fromRight`), and functions which are 
specialisations of more generic functions (`whenJust`).
 * Most of the functions have trivial implementations. If a beginner couldn't 
write the function, it probably doesn't belong here.
 * I have defined only a few new data types or type aliases. It's a package for 
defining new utilities on existing types, not new types or concepts.
+
+
+## Base versions
+
+The following GHC versions correspond to the following base library versions:
+
+* base 4.9 == GHC 8.0
+* base 4.8 == GHC 7.10
+* base 4.7 == GHC 7.8
+* base 4.6 == GHC 7.6
+* base 4.5 == GHC 7.4
+* base 4.4 == GHC 7.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.7/extra.cabal new/extra-1.4.8/extra.cabal
--- old/extra-1.4.7/extra.cabal 2016-05-22 21:10:19.0 +0200
+++ new/extra-1.4.8/extra.cabal 2016-05-26 21:39:07.0 +0200
@@ -1,7 +1,7 @@
 cabal-version:  >= 1.10
 build-type: Simple
 name:   extra
-version:1.4.7
+version:1.4.8
 license:BSD3
 license-file:   LICENSE
 category:   Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.7/src/Control/Exception/Extra.hs 
new/extra-1.4.8/src/Control/Exception/Extra.hs
--- old/extra-1.4.7/src/Control/Exception/Extra.hs  2016-05-22 
21:10:19.0 +0200
+++ new/extra-1.4.8/src/Control/Exception/Extra.hs  2016-05-26 
21:39:07.0 +0200
@@ -1,4 +1,5 @@
-{-# LANGUAGE ScopedTypeVariables #-}
+{-# LANGUAGE ScopedTypeVariables, CPP #-}
+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
 
 -- | Extra functions for "Control.Exception".
 --   These functions provide retrying, showing in the presence of exceptions,
@@ -7,7 +8,7 @@
 module Control.Exception,
 retry, retryBool,
 showException, stringException,
-errorIO,
+errorIO, displayException,
 -- * Exception catching/ignoring
 ignore,
 catch_, handle_, try_,
@@ -43,6 +44,14 @@
 showException = stringException . show
 
 
+#if __GLASGOW_HASKELL__ < 710
+-- | Render this exception value 

commit ghc-extra for openSUSE:Factory

2016-05-25 Thread h_root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2016-05-25 21:28:25

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new (New)


Package is "ghc-extra"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2016-05-17 
17:15:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new/ghc-extra.changes 2016-05-25 
21:28:31.0 +0200
@@ -1,0 +2,6 @@
+Mon May 23 09:07:41 UTC 2016 - mimi...@gmail.com
+
+- update to 1.4.7
+* add concatForM
+
+---

Old:

  extra-1.4.6.tar.gz

New:

  extra-1.4.7.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.y958WS/_old  2016-05-25 21:28:32.0 +0200
+++ /var/tmp/diff_new_pack.y958WS/_new  2016-05-25 21:28:32.0 +0200
@@ -21,7 +21,7 @@
 %global debug_package %{nil}
 %bcond_with tests
 Name:   ghc-extra
-Version:1.4.6
+Version:1.4.7
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause

++ extra-1.4.6.tar.gz -> extra-1.4.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.6/CHANGES.txt new/extra-1.4.7/CHANGES.txt
--- old/extra-1.4.6/CHANGES.txt 2016-05-11 13:08:20.0 +0200
+++ new/extra-1.4.7/CHANGES.txt 2016-05-22 21:10:19.0 +0200
@@ -1,5 +1,7 @@
 Changelog for Extra
 
+1.4.7
+#21, add concatForM
 1.4.6
 #11, add maybeM and eitherM
 1.4.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.6/extra.cabal new/extra-1.4.7/extra.cabal
--- old/extra-1.4.6/extra.cabal 2016-05-11 13:08:20.0 +0200
+++ new/extra-1.4.7/extra.cabal 2016-05-22 21:10:19.0 +0200
@@ -1,7 +1,7 @@
 cabal-version:  >= 1.10
 build-type: Simple
 name:   extra
-version:1.4.6
+version:1.4.7
 license:BSD3
 license-file:   LICENSE
 category:   Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.6/src/Control/Monad/Extra.hs 
new/extra-1.4.7/src/Control/Monad/Extra.hs
--- old/extra-1.4.6/src/Control/Monad/Extra.hs  2016-05-11 13:08:20.0 
+0200
+++ new/extra-1.4.7/src/Control/Monad/Extra.hs  2016-05-22 21:10:19.0 
+0200
@@ -12,7 +12,7 @@
 -- * Loops
 loopM, whileM,
 -- * Lists
-partitionM, concatMapM, mconcatMapM, mapMaybeM, findM, firstJustM,
+partitionM, concatMapM, concatForM, mconcatMapM, mapMaybeM, findM, 
firstJustM,
 -- * Booleans
 whenM, unlessM, ifM, notM, (||^), (&&^), orM, andM, anyM, allM
 ) where
@@ -73,7 +73,12 @@
 concatMapM op = foldr f (return [])
 where f x xs = do x <- op x; if null x then xs else do xs <- xs; return $ 
x++xs
 
--- | A version of 'mconcatMapM' that works with a monadic predicate.
+-- | Like 'concatMapM', but has its arguments flipped, so can be used
+--   instead of the common @fmap concat $ forM@ pattern.
+concatForM :: Monad m => [a] -> (a -> m [b]) -> m [b]
+concatForM = flip concatMapM
+
+-- | A version of 'mconcatMap' that works with a monadic predicate.
 mconcatMapM :: (Monad m, Monoid b) => (a -> m b) -> [a] -> m b
 mconcatMapM f = liftM mconcat . mapM f
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.6/src/Extra.hs new/extra-1.4.7/src/Extra.hs
--- old/extra-1.4.6/src/Extra.hs2016-05-11 13:08:20.0 +0200
+++ new/extra-1.4.7/src/Extra.hs2016-05-22 21:10:19.0 +0200
@@ -14,7 +14,7 @@
 retry, retryBool, showException, stringException, errorIO, ignore, catch_, 
handle_, try_, catchJust_, handleJust_, tryJust_, catchBool, handleBool, 
tryBool,
 -- * Control.Monad.Extra
 -- | Extra functions available in @"Control.Monad.Extra"@.
-whenJust, whenJustM, unit, maybeM, eitherM, loopM, whileM, partitionM, 
concatMapM, mconcatMapM, mapMaybeM, findM, firstJustM, whenM, unlessM, ifM, 
notM, (||^), (&&^), orM, andM, anyM, allM,
+whenJust, whenJustM, unit, maybeM, eitherM, loopM, whileM, partitionM, 
concatMapM, concatForM, mconcatMapM, mapMaybeM, findM, firstJustM, whenM, 
unlessM, ifM, notM, (||^), (&&^), orM, andM, anyM, allM,
 -- * Data.Either.Extra
 -- | Extra functions available in @"Data.Either.Extra"@.
 isLeft, isRight, fromLeft, fromRight, fromEither,




commit ghc-extra for openSUSE:Factory

2016-05-17 Thread h_root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2016-05-17 17:15:47

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new (New)


Package is "ghc-extra"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2016-05-03 
10:16:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new/ghc-extra.changes 2016-05-17 
17:15:48.0 +0200
@@ -1,0 +2,6 @@
+Thu May 12 13:35:41 UTC 2016 - mimi...@gmail.com
+
+- update to 1.4.6
+* add maybeM and eitherM
+
+---

Old:

  extra-1.4.5.tar.gz

New:

  extra-1.4.6.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.R7uanh/_old  2016-05-17 17:15:49.0 +0200
+++ /var/tmp/diff_new_pack.R7uanh/_new  2016-05-17 17:15:49.0 +0200
@@ -21,7 +21,7 @@
 %global debug_package %{nil}
 %bcond_with tests
 Name:   ghc-extra
-Version:1.4.5
+Version:1.4.6
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause

++ extra-1.4.5.tar.gz -> extra-1.4.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.5/CHANGES.txt new/extra-1.4.6/CHANGES.txt
--- old/extra-1.4.5/CHANGES.txt 2016-04-29 21:36:57.0 +0200
+++ new/extra-1.4.6/CHANGES.txt 2016-05-11 13:08:20.0 +0200
@@ -1,5 +1,7 @@
 Changelog for Extra
 
+1.4.6
+#11, add maybeM and eitherM
 1.4.5
 #17, change fileEq on files that do not exist to be an error
 1.4.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.5/extra.cabal new/extra-1.4.6/extra.cabal
--- old/extra-1.4.5/extra.cabal 2016-04-29 21:36:57.0 +0200
+++ new/extra-1.4.6/extra.cabal 2016-05-11 13:08:20.0 +0200
@@ -1,7 +1,7 @@
 cabal-version:  >= 1.10
 build-type: Simple
 name:   extra
-version:1.4.5
+version:1.4.6
 license:BSD3
 license-file:   LICENSE
 category:   Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.5/src/Control/Monad/Extra.hs 
new/extra-1.4.6/src/Control/Monad/Extra.hs
--- old/extra-1.4.5/src/Control/Monad/Extra.hs  2016-04-29 21:36:57.0 
+0200
+++ new/extra-1.4.6/src/Control/Monad/Extra.hs  2016-05-11 13:08:20.0 
+0200
@@ -8,6 +8,7 @@
 module Control.Monad,
 whenJust, whenJustM,
 unit,
+maybeM, eitherM,
 -- * Loops
 loopM, whileM,
 -- * Lists
@@ -42,6 +43,16 @@
 unit :: m () -> m ()
 unit = id
 
+
+-- | Monadic generalisation of 'maybe'.
+maybeM :: Monad m => m b -> (a -> m b) -> m (Maybe a) -> m b
+maybeM n j x = maybe n j =<< x
+
+
+-- | Monadic generalisation of 'either'.
+eitherM :: Monad m => (a -> m c) -> (b -> m c) -> m (Either a b) -> m c
+eitherM l r x = either l r =<< x
+
 -- Data.List for Monad
 
 -- | A version of 'partition' that works with a monadic predicate.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.5/src/Extra.hs new/extra-1.4.6/src/Extra.hs
--- old/extra-1.4.5/src/Extra.hs2016-04-29 21:36:57.0 +0200
+++ new/extra-1.4.6/src/Extra.hs2016-05-11 13:08:20.0 +0200
@@ -14,7 +14,7 @@
 retry, retryBool, showException, stringException, errorIO, ignore, catch_, 
handle_, try_, catchJust_, handleJust_, tryJust_, catchBool, handleBool, 
tryBool,
 -- * Control.Monad.Extra
 -- | Extra functions available in @"Control.Monad.Extra"@.
-whenJust, whenJustM, unit, loopM, whileM, partitionM, concatMapM, 
mconcatMapM, mapMaybeM, findM, firstJustM, whenM, unlessM, ifM, notM, (||^), 
(&&^), orM, andM, anyM, allM,
+whenJust, whenJustM, unit, maybeM, eitherM, loopM, whileM, partitionM, 
concatMapM, mconcatMapM, mapMaybeM, findM, firstJustM, whenM, unlessM, ifM, 
notM, (||^), (&&^), orM, andM, anyM, allM,
 -- * Data.Either.Extra
 -- | Extra functions available in @"Data.Either.Extra"@.
 isLeft, isRight, fromLeft, fromRight, fromEither,




commit ghc-extra for openSUSE:Factory

2016-05-03 Thread h_root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2016-05-03 09:37:11

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new (New)


Package is "ghc-extra"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2016-01-11 
19:12:05.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new/ghc-extra.changes 2016-05-03 
10:16:42.0 +0200
@@ -1,0 +2,9 @@
+Sat Apr 30 16:02:30 UTC 2016 - mimi...@gmail.com
+
+- update to 1.4.5
+* change fileEq on files that do not exist to be an error
+* add mconcatMap and mconcatMapM
+* add fileEq
+* add isMac
+
+---

Old:

  extra-1.4.3.tar.gz

New:

  extra-1.4.5.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.GHZpYG/_old  2016-05-03 10:16:43.0 +0200
+++ /var/tmp/diff_new_pack.GHZpYG/_new  2016-05-03 10:16:43.0 +0200
@@ -21,7 +21,7 @@
 %global debug_package %{nil}
 %bcond_with tests
 Name:   ghc-extra
-Version:1.4.3
+Version:1.4.5
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause

++ extra-1.4.3.tar.gz -> extra-1.4.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.3/CHANGES.txt new/extra-1.4.5/CHANGES.txt
--- old/extra-1.4.3/CHANGES.txt 2016-01-07 15:22:49.0 +0100
+++ new/extra-1.4.5/CHANGES.txt 2016-04-29 21:36:57.0 +0200
@@ -1,5 +1,11 @@
 Changelog for Extra
 
+1.4.5
+#17, change fileEq on files that do not exist to be an error
+1.4.4
+#14, add mconcatMap and mconcatMapM
+#16, add fileEq
+#15, add isMac
 1.4.3
 Add Data.Version.Extra
 1.4.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.3/Generate.hs new/extra-1.4.5/Generate.hs
--- old/extra-1.4.3/Generate.hs 2016-01-07 15:22:49.0 +0100
+++ new/extra-1.4.5/Generate.hs 2016-04-29 21:36:57.0 +0200
@@ -1,3 +1,5 @@
+-- This module generates the files src/Extra.hs and test/TestGen.hs.
+-- Either call "runhaskell Generate" or start "ghci" and use ":generate".
 
 module Generate(main) where
 
@@ -24,7 +26,10 @@
 let tests = mapMaybe (stripPrefix "-- > ") $ lines src
 return (mod, funcs, tests)
 writeFileBinaryChanged "src/Extra.hs" $ unlines $
-["-- | This module documents all the functions available in this 
package."
+["-- GENERATED CODE - DO NOT MODIFY"
+,"-- See Generate.hs for details of how to generate"
+,""
+,"-- | This module documents all the functions available in this 
package."
 ,"--"
 ,"--   Most users should import the specific modules (e.g. 
@\"Data.List.Extra\"@), which"
 ,"--   also reexport their non-@Extra@ modules (e.g. @\"Data.List\"@)."
@@ -37,7 +42,10 @@
 ,""] ++
 ["import " ++ x | x <- mods]
 writeFileBinaryChanged "test/TestGen.hs" $ unlines $
-["{-# LANGUAGE ExtendedDefaultRules, ScopedTypeVariables, ViewPatterns 
#-}"
+["-- GENERATED CODE - DO NOT MODIFY"
+,"-- See Generate.hs for details of how to generate"
+,""
+,"{-# LANGUAGE ExtendedDefaultRules, ScopedTypeVariables, ViewPatterns 
#-}"
 ,"module TestGen(tests) where"
 ,"import TestUtil"
 ,"default(Maybe Bool,Int,Double,Maybe (Maybe Bool),Maybe (Maybe Char))"
@@ -67,8 +75,8 @@
 tweakTest x
 | Just x <- stripSuffix " == undefined" x =
 if not $ "\\" `isPrefixOf` x then
-"erroneous $ " ++ trim x
+(if "fileEq" `isInfixOf` x then "erroneousIO $ " else "erroneous $ 
") ++ trim x
 else
 let (a,b) = breakOn "->" $ trim x
-in a ++ "-> erroneous $ " ++ drop 2 b
+in a ++ "-> erroneous $ " ++ trim (drop 2 b)
 | otherwise = x
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.3/extra.cabal new/extra-1.4.5/extra.cabal
--- old/extra-1.4.3/extra.cabal 2016-01-07 15:22:49.0 +0100
+++ new/extra-1.4.5/extra.cabal 2016-04-29 21:36:57.0 +0200
@@ -1,7 +1,7 @@
 cabal-version:  >= 1.10
 build-type: Simple
 name:   extra
-version:1.4.3
+version:1.4.5
 license:BSD3
 license-file:   LICENSE
 category:   Development
@@ -15,7 +15,7 @@
 The module "Extra" documents all functions provided by this library. 
Modules such as "Data.List.Extra" provide extra functions over "Data.List" and 
also reexport "Data.List". Users are recommended to replace 

commit ghc-extra for openSUSE:Factory

2016-01-11 Thread h_root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2016-01-11 19:12:03

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new (New)


Package is "ghc-extra"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2015-09-24 
06:15:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new/ghc-extra.changes 2016-01-11 
19:12:05.0 +0100
@@ -1,0 +2,6 @@
+Fri Jan  8 10:43:20 UTC 2016 - mimi...@gmail.com
+
+- update to 1.4.3
+* Add Data.Version.Extra
+
+---

Old:

  extra-1.4.2.tar.gz

New:

  extra-1.4.3.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.dcpngt/_old  2016-01-11 19:12:06.0 +0100
+++ /var/tmp/diff_new_pack.dcpngt/_new  2016-01-11 19:12:06.0 +0100
@@ -21,7 +21,7 @@
 %global debug_package %{nil}
 %bcond_with tests
 Name:   ghc-extra
-Version:1.4.2
+Version:1.4.3
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause

++ extra-1.4.2.tar.gz -> extra-1.4.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.2/CHANGES.txt new/extra-1.4.3/CHANGES.txt
--- old/extra-1.4.2/CHANGES.txt 2015-09-14 22:42:07.0 +0200
+++ new/extra-1.4.3/CHANGES.txt 2016-01-07 15:22:49.0 +0100
@@ -1,5 +1,7 @@
 Changelog for Extra
 
+1.4.3
+Add Data.Version.Extra
 1.4.2
 Make concatMapM/mapMaybeM faster
 1.4.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.2/LICENSE new/extra-1.4.3/LICENSE
--- old/extra-1.4.2/LICENSE 2015-09-14 22:42:07.0 +0200
+++ new/extra-1.4.3/LICENSE 2016-01-07 15:22:49.0 +0100
@@ -1,4 +1,4 @@
-Copyright Neil Mitchell 2014-2015.
+Copyright Neil Mitchell 2014-2016.
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.2/README.md new/extra-1.4.3/README.md
--- old/extra-1.4.2/README.md   2015-09-14 22:42:07.0 +0200
+++ new/extra-1.4.3/README.md   2016-01-07 15:22:49.0 +0100
@@ -1,4 +1,4 @@
-# Extra [![Hackage 
version](https://img.shields.io/hackage/v/extra.svg?style=flat)](https://hackage.haskell.org/package/extra)
 [![Build 
Status](https://img.shields.io/travis/ndmitchell/extra.svg?style=flat)](https://travis-ci.org/ndmitchell/extra)
+# Extra [![Hackage 
version](https://img.shields.io/hackage/v/extra.svg?label=Hackage)](https://hackage.haskell.org/package/extra)
 [![Stackage 
version](https://www.stackage.org/package/extra/badge/lts?label=Stackage)](https://www.stackage.org/package/extra)
 [![Linux Build 
Status](https://img.shields.io/travis/ndmitchell/extra.svg?label=Linux%20build)](https://travis-ci.org/ndmitchell/extra)
 [![Windows Build 
Status](https://img.shields.io/appveyor/ci/ndmitchell/extra.svg?label=Windows%20build)](https://ci.appveyor.com/project/ndmitchell/extra)
 
 A library of extra functions for the standard Haskell libraries. Most 
functions are simple additions, filling out missing functionality. A few 
functions are available in later versions of GHC, but this package makes them 
available back to GHC 7.2. A few examples:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.2/extra.cabal new/extra-1.4.3/extra.cabal
--- old/extra-1.4.2/extra.cabal 2015-09-14 22:42:07.0 +0200
+++ new/extra-1.4.3/extra.cabal 2016-01-07 15:22:49.0 +0100
@@ -1,13 +1,13 @@
 cabal-version:  >= 1.10
 build-type: Simple
 name:   extra
-version:1.4.2
+version:1.4.3
 license:BSD3
 license-file:   LICENSE
 category:   Development
 author: Neil Mitchell 
 maintainer: Neil Mitchell 
-copyright:  Neil Mitchell 2014-2015
+copyright:  Neil Mitchell 2014-2016
 synopsis:   Extra functions I use.
 description:
 A library of extra functions for the standard Haskell libraries. Most 
functions are simple additions, filling out missing functionality. A few 
functions are available in later versions of GHC, but this package makes them 
available back to GHC 7.2.
@@ -48,6 +48,7 @@
 Data.IORef.Extra
 Data.List.Extra
 Data.Tuple.Extra
+Data.Version.Extra
 Numeric.Extra
 System.Directory.Extra
 System.Environment.Extra
diff -urN '--exclude=CVS' '--exclude=.cvsignore' 

commit ghc-extra for openSUSE:Factory

2015-09-23 Thread h_root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2015-09-24 06:15:07

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new (New)


Package is "ghc-extra"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2015-08-23 
17:38:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new/ghc-extra.changes 2015-09-24 
06:15:08.0 +0200
@@ -1,0 +2,6 @@
+Sun Sep 20 19:14:27 UTC 2015 - mimi...@gmail.com
+
+- update to 1.4.2
+ * Make concatMapM/mapMaybeM faster
+
+---

Old:

  extra-1.4.1.tar.gz

New:

  extra-1.4.2.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.RYcmII/_old  2015-09-24 06:15:09.0 +0200
+++ /var/tmp/diff_new_pack.RYcmII/_new  2015-09-24 06:15:09.0 +0200
@@ -21,7 +21,7 @@
 %global debug_package %{nil}
 %bcond_with tests
 Name:   ghc-extra
-Version:1.4.1
+Version:1.4.2
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause

++ extra-1.4.1.tar.gz -> extra-1.4.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.1/CHANGES.txt new/extra-1.4.2/CHANGES.txt
--- old/extra-1.4.1/CHANGES.txt 2015-08-04 22:37:36.0 +0200
+++ new/extra-1.4.2/CHANGES.txt 2015-09-14 22:42:07.0 +0200
@@ -1,5 +1,7 @@
 Changelog for Extra
 
+1.4.2
+Make concatMapM/mapMaybeM faster
 1.4.1
 Make temp file functions workaround GHC bug #10731
 Add retryBool
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.1/extra.cabal new/extra-1.4.2/extra.cabal
--- old/extra-1.4.1/extra.cabal 2015-08-04 22:37:36.0 +0200
+++ new/extra-1.4.2/extra.cabal 2015-09-14 22:42:07.0 +0200
@@ -1,7 +1,7 @@
 cabal-version:  >= 1.10
 build-type: Simple
 name:   extra
-version:1.4.1
+version:1.4.2
 license:BSD3
 license-file:   LICENSE
 category:   Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.1/src/Control/Monad/Extra.hs 
new/extra-1.4.2/src/Control/Monad/Extra.hs
--- old/extra-1.4.1/src/Control/Monad/Extra.hs  2015-08-04 22:37:36.0 
+0200
+++ new/extra-1.4.2/src/Control/Monad/Extra.hs  2015-09-14 22:42:07.0 
+0200
@@ -1,4 +1,4 @@
-{-# LANGUAGE CPP #-}
+{-# LANGUAGE UnboxedTuples #-}
 
 -- | Extra functions for "Control.Monad".
 --   These functions provide looping, list operations and booleans.
@@ -13,14 +13,13 @@
 -- * Lists
 partitionM, concatMapM, mapMaybeM, findM, firstJustM,
 -- * Booleans
-whenM, unlessM, ifM, notM, (||^), (&&^), orM, andM, anyM, allM,
+whenM, unlessM, ifM, notM, (||^), (&&^), orM, andM, anyM, allM
 ) where
 
 import Control.Monad
-#if __GLASGOW_HASKELL__ < 709
 import Control.Applicative
-#endif
 import Data.Maybe
+import Prelude
 
 -- General utilities
 
@@ -58,11 +57,15 @@
 
 -- | A version of 'concatMap' that works with a monadic predicate.
 concatMapM :: Monad m => (a -> m [b]) -> [a] -> m [b]
-concatMapM f = liftM concat . mapM f
+{-# INLINE concatMapM #-}
+concatMapM op = foldr f (return [])
+where f x xs = do x <- op x; if null x then xs else do xs <- xs; return $ 
x++xs
 
 -- | A version of 'mapMaybe' that works with a monadic predicate.
 mapMaybeM :: Monad m => (a -> m (Maybe b)) -> [a] -> m [b]
-mapMaybeM f = liftM catMaybes . mapM f
+{-# INLINE mapMaybeM #-}
+mapMaybeM op = foldr f (return [])
+where f x xs = do x <- op x; case x of Nothing -> xs; Just x -> do xs <- 
xs; return $ x:xs
 
 -- Looping
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.4.1/src/System/IO/Extra.hs 
new/extra-1.4.2/src/System/IO/Extra.hs
--- old/extra-1.4.1/src/System/IO/Extra.hs  2015-08-04 22:37:36.0 
+0200
+++ new/extra-1.4.2/src/System/IO/Extra.hs  2015-09-14 22:42:07.0 
+0200
@@ -127,7 +127,7 @@
 hSetBuffering out buf
 
 
--- | Execute an action with a custom 'BufferMode', a warpper around
+-- | Execute an action with a custom 'BufferMode', a wrapper around
 --   'hSetBuffering'.
 withBuffering :: Handle -> BufferMode -> IO a -> IO a
 withBuffering h m act = bracket (hGetBuffering h) (hSetBuffering h) $ const $ 
do
@@ -141,7 +141,7 @@
 {-# NOINLINE tempRef #-}
 tempRef :: IORef Int
 tempRef = unsafePerformIO $ do
-rand :: Integer <- fmap (read . take 50 . filter isDigit . show . 
utctDayTime) getCurrentTime
+rand :: Integer <- fmap (read 

commit ghc-extra for openSUSE:Factory

2015-08-23 Thread h_root
Hello community,

here is the log from the commit of package ghc-extra for openSUSE:Factory 
checked in at 2015-08-23 15:43:06

Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-extra.new (New)


Package is ghc-extra

Changes:

--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes  2015-05-21 
08:36:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new/ghc-extra.changes 2015-08-23 
17:38:54.0 +0200
@@ -1,0 +2,15 @@
+Fri Aug  7 07:01:42 UTC 2015 - mimi...@gmail.com
+
+- update to 1.4.1
+ * Make temp file functions workaround GHC bug #10731
+ * Add retryBool
+ * Add stripInfix and stripInfixEnd
+ * support directory-1.2.3
+ * Add whenJustM
+ * Add errorIO
+ * Add onceFork
+ * Make once async exception safe
+ * Fix a deadlock in once when two people request in parallel
+ * Fix a missing hClose in captureOutput
+
+---

Old:

  extra-1.1.tar.gz

New:

  extra-1.4.1.tar.gz



Other differences:
--
++ ghc-extra.spec ++
--- /var/tmp/diff_new_pack.am0YEA/_old  2015-08-23 17:38:55.0 +0200
+++ /var/tmp/diff_new_pack.am0YEA/_new  2015-08-23 17:38:55.0 +0200
@@ -20,8 +20,8 @@
 # no useful debuginfo for Haskell packages without C sources
 %global debug_package %{nil}
 %bcond_with tests
-Name:   ghc-%{pkg_name}
-Version:1.1
+Name:   ghc-extra
+Version:1.4.1
 Release:0
 Summary:Extra functions I use
 License:BSD-3-Clause

++ extra-1.1.tar.gz - extra-1.4.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.1/CHANGES.txt new/extra-1.4.1/CHANGES.txt
--- old/extra-1.1/CHANGES.txt   2015-02-17 20:16:16.0 +0100
+++ new/extra-1.4.1/CHANGES.txt 2015-08-04 22:37:36.0 +0200
@@ -1,5 +1,20 @@
 Changelog for Extra
 
+1.4.1
+Make temp file functions workaround GHC bug #10731
+Add retryBool
+1.4
+Add stripInfix and stripInfixEnd
+1.3.1
+#9, support directory-1.2.3
+1.3
+Add whenJustM
+Add errorIO
+1.2
+Add onceFork
+Make once async exception safe
+Fix a deadlock in once when two people request in parallel
+Fix a missing hClose in captureOutput
 1.1
 #7, add nubOrd, nubOrdOn, nubOrdBy
 #6, add groupSortOn and groupSortBy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.1/Generate.hs new/extra-1.4.1/Generate.hs
--- old/extra-1.1/Generate.hs   2015-02-17 20:16:16.0 +0100
+++ new/extra-1.4.1/Generate.hs 2015-08-04 22:37:36.0 +0200
@@ -9,6 +9,7 @@
 import System.Directory
 import Data.Char
 import Data.Maybe
+import Prelude
 
 
 main :: IO ()
@@ -19,7 +20,7 @@
 src - readFile $ joinPath (src : split (== '.') mod) . hs
 let funcs = filter validIdentifier $ takeWhile (/= where) $
 words $ replace ,   $ drop1 $ dropWhile (/= '(') $
-unlines $ filter (not . isPrefixOf -- . trim) $ lines src
+unlines $ filter (\x - not $ any (`isPrefixOf` trim x) 
[--,#]) $ lines src
 let tests = mapMaybe (stripPrefix --  ) $ lines src
 return (mod, funcs, tests)
 writeFileBinaryChanged src/Extra.hs $ unlines $
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-1.1/README.md new/extra-1.4.1/README.md
--- old/extra-1.1/README.md 2015-02-17 20:16:16.0 +0100
+++ new/extra-1.4.1/README.md   2015-08-04 22:37:36.0 +0200
@@ -5,7 +5,7 @@
 * `Control.Monad.Extra.concatMapM` provides a monadic version of `concatMap`, 
in the same way that `mapM` is a monadic version of `map`.
 * `Data.Tuple.Extra.fst3` provides a function to get the first element of a 
triple.
 * `Control.Exception.Extra.retry` provides a function that retries an `IO` 
action a number of times.
-* `System.Environment.Extra.lookupEnv` is a functional available in GHC 7.6 
and above. On GHC 7.6 and above this package reexports the version from 
`System.Environment` while on GHC 7.4 and below it defines an equivalent 
version.
+* `System.Environment.Extra.lookupEnv` is a function available in GHC 7.6 and 
above. On GHC 7.6 and above this package reexports the version from 
`System.Environment` while on GHC 7.4 and below it defines an equivalent 
version.
 
 The module `Extra` documents all functions provided by this library. Modules 
such as `Data.List.Extra` provide extra functions over `Data.List` and also 
reexport `Data.List`. Users are recommended to replace `Data.List` imports with 
`Data.List.Extra` if they need the extra functionality.
 
diff -urN '--exclude=CVS'