commit ghc-monad-control for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-monad-control for 
openSUSE:Factory checked in at 2020-08-28 21:35:02

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


Package is "ghc-monad-control"

Fri Aug 28 21:35:02 2020 rev:14 rq:829352 version:1.0.2.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-control/ghc-monad-control.changes  
2020-06-19 17:15:35.382562590 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-monad-control.new.3399/ghc-monad-control.changes
2020-08-28 21:35:02.780714373 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:45:29 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-monad-control.spec ++
--- /var/tmp/diff_new_pack.23mCrG/_old  2020-08-28 21:35:03.264714602 +0200
+++ /var/tmp/diff_new_pack.23mCrG/_new  2020-08-28 21:35:03.268714604 +0200
@@ -59,7 +59,7 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 
 %build
 %ghc_lib_build




commit ghc-monad-control for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-monad-control for 
openSUSE:Factory checked in at 2020-06-19 17:15:32

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


Package is "ghc-monad-control"

Fri Jun 19 17:15:32 2020 rev:13 rq:815133 version:1.0.2.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-control/ghc-monad-control.changes  
2019-12-27 13:55:27.980719124 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-monad-control.new.3606/ghc-monad-control.changes
2020-06-19 17:15:35.382562590 +0200
@@ -2 +2 @@
-Fri Nov  8 16:14:14 UTC 2019 - Peter Simons 
+Tue Jun  9 09:26:17 UTC 2020 - psim...@suse.com
@@ -4 +4 @@
-- Drop obsolete group attributes.
+- Add monad-control at version 1.0.2.3.
@@ -6,77 +5,0 @@

-Sat Oct 20 11:31:43 UTC 2018 - Peter Simons 
-
-- Use https URL to refer to bugs.opensuse.org.
-

-Wed Jul 18 14:26:32 UTC 2018 - psim...@suse.com
-
-- Cosmetic: replace tabs with blanks, strip trailing white space,
-  and update copyright headers with spec-cleaner.
-

-Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
-
-- Update monad-control to version 1.0.2.3.
-  * Correct spelling mistake. Courtesy of Edward Betts.
-  * Support transformers-compat-0.6.
-  * Added some good documentation. Courtesy of Franz Thoma.
-

-Tue Jul 11 03:02:26 UTC 2017 - psim...@suse.com
-
-- Update to version 1.0.2.1.
-

-Mon Jun 19 21:01:53 UTC 2017 - psim...@suse.com
-
-- Update to version 1.0.2.0.
-

-Sun Jul 10 16:59:05 UTC 2016 - psim...@suse.com
-
-- Update to version 1.0.1.0 revision 0 with cabal2obs.
-

-Thu Apr  7 15:00:08 UTC 2016 - mimi...@gmail.com
-
-- update to 1.0.1.0
-- removed useless _service
-* Added the functions:
-
-  liftThrough
-  :: (MonadTransControl t, Monad (t m), Monad m)
-  => (m (StT t a) -> m (StT t b)) -- ^
-  -> t m a -> t m b
-
-  captureT :: (MonadTransControl t, Monad (t m), Monad m) => t m (StT t ())
-  captureM :: MonadBaseControl b m => m (StM m ())
-

-Fri Jan 29 13:23:46 UTC 2016 - mimi...@gmail.com
-
-- update to 1.0.0.5
-* Support transformers-0.5 & ransformers-compat-0.5.*.
-

-Tue Apr 21 19:32:20 UTC 2015 - mimi...@gmail.com
-
-- update to 1.0.0.4
-* Support transformers-compat-0.4.*.
-* Unconditionally add ExceptT instances using transformers-compat.
-  Courtesy of Adam Bergmark.
-* Add a base >= 4.5 constraint because monad-control only builds on GHC >= 7.4.
-* Use Safe instead of Trustworthy.
-This requires a dependency on stm.
-* Switch the associated data types StT and StM to associated type synonyms.
-This is an API breaking change. To fix your MonadTransControl or
-MonadBaseControl instances simply remove the StT or StM constructors
-and deconstructors for your monad transformers or monad.
-* Add the embed, embed_ and liftBaseOpDiscard functions.
-* Support transformers-0.4.0.0
-* Drop unicode syntax and symbols
-

-Sun Oct  6 21:43:23 UTC 2013 - sbahl...@suse.com
-
-- Initial package - version 0.3.2.1



Other differences:
--
++ ghc-monad-control.spec ++
--- /var/tmp/diff_new_pack.0ekOoh/_old  2020-06-19 17:15:36.446565906 +0200
+++ /var/tmp/diff_new_pack.0ekOoh/_new  2020-06-19 17:15:36.450565919 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-monad-control
 #
-# Copyright (c) 2019 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




commit ghc-monad-control for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-monad-control for 
openSUSE:Factory checked in at 2019-12-27 13:55:17

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


Package is "ghc-monad-control"

Fri Dec 27 13:55:17 2019 rev:12 rq:759450 version:1.0.2.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-control/ghc-monad-control.changes  
2018-10-25 08:27:18.703775306 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-monad-control.new.6675/ghc-monad-control.changes
2019-12-27 13:55:27.980719124 +0100
@@ -1,0 +2,5 @@
+Fri Nov  8 16:14:14 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---



Other differences:
--
++ ghc-monad-control.spec ++
--- /var/tmp/diff_new_pack.Qq4ynU/_old  2019-12-27 13:55:28.652719449 +0100
+++ /var/tmp/diff_new_pack.Qq4ynU/_new  2019-12-27 13:55:28.656719451 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-monad-control
 #
-# 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
@@ -22,7 +22,6 @@
 Release:0
 Summary:Lift control operations, like exception catching, through 
monad transformers
 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
@@ -51,7 +50,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-monad-control for openSUSE:Factory

2018-10-24 Thread root
Hello community,

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

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


Package is "ghc-monad-control"

Thu Oct 25 08:27:16 2018 rev:11 rq:643421 version:1.0.2.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-control/ghc-monad-control.changes  
2018-07-22 23:04:48.796917772 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-monad-control.new/ghc-monad-control.changes 
2018-10-25 08:27:18.703775306 +0200
@@ -1,0 +2,5 @@
+Sat Oct 20 11:31:43 UTC 2018 - Peter Simons 
+
+- Use https URL to refer to bugs.opensuse.org.
+
+---



Other differences:
--
++ ghc-monad-control.spec ++
--- /var/tmp/diff_new_pack.bNNChV/_old  2018-10-25 08:27:19.663774862 +0200
+++ /var/tmp/diff_new_pack.bNNChV/_new  2018-10-25 08:27:19.663774862 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 




commit ghc-monad-control for openSUSE:Factory

2018-07-22 Thread root
Hello community,

here is the log from the commit of package ghc-monad-control for 
openSUSE:Factory checked in at 2018-07-22 23:04:44

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


Package is "ghc-monad-control"

Sun Jul 22 23:04:44 2018 rev:10 rq:624315 version:1.0.2.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-control/ghc-monad-control.changes  
2018-05-30 12:26:25.856080183 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-monad-control.new/ghc-monad-control.changes 
2018-07-22 23:04:48.796917772 +0200
@@ -1,0 +2,6 @@
+Wed Jul 18 14:26:32 UTC 2018 - psim...@suse.com
+
+- Cosmetic: replace tabs with blanks, strip trailing white space,
+  and update copyright headers with spec-cleaner.
+
+---
@@ -39 +44,0 @@
-
@@ -68 +72,0 @@
-



Other differences:
--



commit ghc-monad-control for openSUSE:Factory

2018-05-30 Thread root
Hello community,

here is the log from the commit of package ghc-monad-control for 
openSUSE:Factory checked in at 2018-05-30 12:10:53

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


Package is "ghc-monad-control"

Wed May 30 12:10:53 2018 rev:9 rq:607839 version:1.0.2.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-control/ghc-monad-control.changes  
2017-07-27 11:11:58.507752005 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-monad-control.new/ghc-monad-control.changes 
2018-05-30 12:26:25.856080183 +0200
@@ -1,0 +2,8 @@
+Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
+
+- Update monad-control to version 1.0.2.3.
+  * Correct spelling mistake. Courtesy of Edward Betts.
+  * Support transformers-compat-0.6.
+  * Added some good documentation. Courtesy of Franz Thoma.
+
+---

Old:

  monad-control-1.0.2.1.tar.gz

New:

  monad-control-1.0.2.3.tar.gz



Other differences:
--
++ ghc-monad-control.spec ++
--- /var/tmp/diff_new_pack.LEc4TP/_old  2018-05-30 12:26:26.588055374 +0200
+++ /var/tmp/diff_new_pack.LEc4TP/_new  2018-05-30 12:26:26.592055239 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-monad-control
 #
-# 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
@@ -18,12 +18,12 @@
 
 %global pkg_name monad-control
 Name:   ghc-%{pkg_name}
-Version:1.0.2.1
+Version:1.0.2.3
 Release:0
 Summary:Lift control operations, like exception catching, through 
monad transformers
 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-rpm-macros
@@ -31,7 +31,6 @@
 BuildRequires:  ghc-transformers-base-devel
 BuildRequires:  ghc-transformers-compat-devel
 BuildRequires:  ghc-transformers-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 This package defines the type class 'MonadBaseControl', a subset of 'MonadBase'
@@ -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}
@@ -77,11 +76,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
-%doc LICENSE
+%license LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc CHANGELOG README.markdown
 
 %changelog

++ monad-control-1.0.2.1.tar.gz -> monad-control-1.0.2.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-control-1.0.2.1/CHANGELOG 
new/monad-control-1.0.2.3/CHANGELOG
--- old/monad-control-1.0.2.1/CHANGELOG 2017-06-30 19:50:40.0 +0200
+++ new/monad-control-1.0.2.3/CHANGELOG 2018-02-26 09:12:30.0 +0100
@@ -1,3 +1,15 @@
+1.0.2.3
+
+* Correct spelling mistake. Courtesy of Edward Betts.
+
+* Support transformers-compat-0.6.
+
+
+1.0.2.2
+
+* Added some good documentation. Courtesy of Franz Thoma.
+
+
 1.0.2.1
 
 * Refer to Michael Snoyman's excellent tutorial on monad-control.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-control-1.0.2.1/Control/Monad/Trans/Control.hs 
new/monad-control-1.0.2.3/Control/Monad/Trans/Control.hs
--- old/monad-control-1.0.2.1/Control/Monad/Trans/Control.hs2017-06-30 
19:50:40.0 +0200
+++ new/monad-control-1.0.2.3/Control/Monad/Trans/Control.hs2018-02-26 
09:12:30.0 +0100
@@ -35,6 +35,33 @@
 See the following tutorial by Michael Snoyman on how to use this package:
 
 
+
+=== Quick implementation guide
+
+Given a base monad @B@ and a stack of transformers @T@:
+
+* Define instances @'MonadTransControl' T@ for all transformers @T@, using the
+  @'defaultLiftWith'@ and @'defaultRestoreT'@ functions on the constructor and
+  deconstructor of @T@.
+
+* Define an instance @'MonadBaseControl' B B@ for the base monad:
+
+@
+instance MonadBaseControl B B where
+type StM B a   = a
+ 

commit ghc-monad-control for openSUSE:Factory

2017-07-27 Thread root
Hello community,

here is the log from the commit of package ghc-monad-control for 
openSUSE:Factory checked in at 2017-07-27 11:11:56

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


Package is "ghc-monad-control"

Thu Jul 27 11:11:56 2017 rev:8 rq:511514 version:1.0.2.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-control/ghc-monad-control.changes  
2017-07-05 23:59:21.692429873 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-monad-control.new/ghc-monad-control.changes 
2017-07-27 11:11:58.507752005 +0200
@@ -1,0 +2,5 @@
+Tue Jul 11 03:02:26 UTC 2017 - psim...@suse.com
+
+- Update to version 1.0.2.1.
+
+---

Old:

  monad-control-1.0.2.0.tar.gz

New:

  monad-control-1.0.2.1.tar.gz



Other differences:
--
++ ghc-monad-control.spec ++
--- /var/tmp/diff_new_pack.OeC4u9/_old  2017-07-27 11:11:59.015680257 +0200
+++ /var/tmp/diff_new_pack.OeC4u9/_new  2017-07-27 11:11:59.019679692 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name monad-control
 Name:   ghc-%{pkg_name}
-Version:1.0.2.0
+Version:1.0.2.1
 Release:0
 Summary:Lift control operations, like exception catching, through 
monad transformers
 License:BSD-3-Clause
@@ -40,9 +40,10 @@
 'MonadTransControl', which includes all standard monad transformers in the
 'transformers' library except 'ContT'.
 
-See the 'lifted-base' package which uses 'monad-control' to lift 'IO'
-operations from the 'base' library (like 'catch' or 'bracket') into any monad
-that is an instance of 'MonadBase' or 'MonadBaseControl'.
+See the  package
+which uses 'monad-control' to lift 'IO' operations from the 'base' library
+(like 'catch' or 'bracket') into any monad that is an instance of 'MonadBase'
+or 'MonadBaseControl'.
 
 Note that this package is a rewrite of Anders Kaseorg's 'monad-peel' library.
 The main difference is that this package provides CPS style operators and

++ monad-control-1.0.2.0.tar.gz -> monad-control-1.0.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-control-1.0.2.0/CHANGELOG 
new/monad-control-1.0.2.1/CHANGELOG
--- old/monad-control-1.0.2.0/CHANGELOG 2017-06-11 19:22:48.0 +0200
+++ new/monad-control-1.0.2.1/CHANGELOG 2017-06-30 19:50:40.0 +0200
@@ -1,3 +1,15 @@
+1.0.2.1
+
+* Refer to Michael Snoyman's excellent tutorial on monad-control.
+
+
+1.0.2.0
+
+* Improve documentation by including type equalities in the Haddock 
documentation.
+
+* Add helpers to define MonadTransControl for stack of two:
+  RunDefault2, defaultLiftWith2, defaultRestoreT2
+
 1.0.1.0
 
 * Added the functions:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-control-1.0.2.0/Control/Monad/Trans/Control.hs 
new/monad-control-1.0.2.1/Control/Monad/Trans/Control.hs
--- old/monad-control-1.0.2.0/Control/Monad/Trans/Control.hs2017-06-11 
19:22:48.0 +0200
+++ new/monad-control-1.0.2.1/Control/Monad/Trans/Control.hs2017-06-30 
19:50:40.0 +0200
@@ -17,12 +17,24 @@
 #endif
 
 {- |
-Module  :  Control.Monad.Trans.Control
 Copyright   :  Bas van Dijk, Anders Kaseorg
-License :  BSD-style
-
+License :  BSD3
 Maintainer  :  Bas van Dijk 
-Stability   :  experimental
+
+This module defines the type class 'MonadBaseControl', a subset of
+'MonadBase' into which generic control operations such as @catch@ can be
+lifted from @IO@ or any other base monad. Instances are based on monad
+transformers in 'MonadTransControl', which includes all standard monad
+transformers in the @transformers@ library except @ContT@.
+
+See the 
+package which uses @monad-control@ to lift @IO@
+operations from the @base@ library (like @catch@ or @bracket@) into any monad
+that is an instance of @MonadBase@ or @MonadBaseControl@.
+
+See the following tutorial by Michael Snoyman on how to use this package:
+
+
 -}
 
 module Control.Monad.Trans.Control
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-control-1.0.2.0/monad-control.cabal 
new/monad-control-1.0.2.1/monad-control.cabal
--- old/monad-control-1.0.2.0/monad-control.cabal   2017-06-11 
19:22:48.0 +0200
+++ new/monad-control-1.0.2.1/monad-control.cabal   2017-06-30 
19:50:40.0 +0200
@@ -1,5 +1,5 @@
 Name:monad-control
-Version: 1.0.2.0
+Version: 1.0.2.1
 Synopsis:L

commit ghc-monad-control for openSUSE:Factory

2017-07-05 Thread root
Hello community,

here is the log from the commit of package ghc-monad-control for 
openSUSE:Factory checked in at 2017-07-05 23:59:20

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


Package is "ghc-monad-control"

Wed Jul  5 23:59:20 2017 rev:7 rq:506816 version:1.0.2.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-control/ghc-monad-control.changes  
2016-07-20 09:27:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-monad-control.new/ghc-monad-control.changes 
2017-07-05 23:59:21.692429873 +0200
@@ -1,0 +2,5 @@
+Mon Jun 19 21:01:53 UTC 2017 - psim...@suse.com
+
+- Update to version 1.0.2.0.
+
+---

Old:

  monad-control-1.0.1.0.tar.gz

New:

  monad-control-1.0.2.0.tar.gz



Other differences:
--
++ ghc-monad-control.spec ++
--- /var/tmp/diff_new_pack.6YdIPo/_old  2017-07-05 23:59:22.420327334 +0200
+++ /var/tmp/diff_new_pack.6YdIPo/_new  2017-07-05 23:59:22.424326770 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-monad-control
 #
-# 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
@@ -18,22 +18,20 @@
 
 %global pkg_name monad-control
 Name:   ghc-%{pkg_name}
-Version:1.0.1.0
+Version:1.0.2.0
 Release:0
 Summary:Lift control operations, like exception catching, through 
monad transformers
 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
 BuildRequires:  ghc-rpm-macros
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-stm-devel
 BuildRequires:  ghc-transformers-base-devel
 BuildRequires:  ghc-transformers-compat-devel
 BuildRequires:  ghc-transformers-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-# End cabal-rpm deps
 
 %description
 This package defines the type class 'MonadBaseControl', a subset of 'MonadBase'
@@ -65,15 +63,12 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %post devel
 %ghc_pkg_recache
 

++ monad-control-1.0.1.0.tar.gz -> monad-control-1.0.2.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-control-1.0.1.0/Control/Monad/Trans/Control.hs 
new/monad-control-1.0.2.0/Control/Monad/Trans/Control.hs
--- old/monad-control-1.0.1.0/Control/Monad/Trans/Control.hs2016-04-06 
00:53:58.0 +0200
+++ new/monad-control-1.0.2.0/Control/Monad/Trans/Control.hs2017-06-11 
19:22:48.0 +0200
@@ -32,6 +32,8 @@
   -- ** Defaults
   -- $MonadTransControlDefaults
 , RunDefault, defaultLiftWith, defaultRestoreT
+  -- $MonadTransControlDefaults2
+, RunDefault2, defaultLiftWith2, defaultRestoreT2
 
   -- * MonadBaseControl
 , MonadBaseControl (..), RunInBase
@@ -109,6 +111,21 @@
 
 class MonadTrans t => MonadTransControl t where
   -- | Monadic state of @t@.
+  --
+  -- For clarity, because haddock does not display associated types, below are
+  -- the elaborated 'StT' definitions provided by this library:
+  --
+  -- @
+  -- StT 'IdentityT'a ~ a
+  -- StT 'MaybeT'   a ~ 'Maybe' a
+  -- StT ('ErrorT' e)   a ~ 'Error' e => 'Either' e a
+  -- StT ('ExceptT' e)  a ~ 'Either' e a
+  -- StT 'ListT'a ~ [a]
+  -- StT ('ReaderT' r)  a ~ a
+  -- StT ('StateT' s)   a ~ (a, s)
+  -- StT ('WriterT' w)  a ~ 'Monoid' w => (a, w)
+  -- StT ('RWST' r w s) a ~ 'Monoid' w => (a, s, w)
+  -- @
   type StT t a :: *
 
   -- | @liftWith@ is similar to 'lift' in that it lifts a computation from
@@ -132,6 +149,20 @@
   -- Instances should satisfy:
   --
   -- @liftWith (\\run -> run t) >>= restoreT . return = t@
+  --
+  -- Example type signatures:
+  --
+  -- @
+  -- restoreT :: 'Monad' m => m a-> 'IdentityT' m a
+  -- restoreT :: 'Monad' m => m ('Maybe' a)-> 'MaybeT' m a
+  -- restoreT :: ('Monad' m, 'Error' e)  => m ('Either' e a) -> 'ErrorT' e m a
+  -- restoreT :: 'Monad' m => m ('Either' e a) -> 'ExceptT' e m a
+  -- restoreT :: 'Monad' m => m [a]  -> 'ListT' m a
+  -- restoreT :: 'Monad' m => m a-> 'ReaderT' r m a
+  -- restoreT :: 'Monad' m => m (a, s)   -> 'StateT' s m a
+  -- resto

commit ghc-monad-control for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

here is the log from the commit of package ghc-monad-control for 
openSUSE:Factory checked in at 2016-07-20 09:27:15

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


Package is "ghc-monad-control"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-control/ghc-monad-control.changes  
2016-04-12 19:38:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-monad-control.new/ghc-monad-control.changes 
2016-07-20 09:27:23.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 16:59:05 UTC 2016 - psim...@suse.com
+
+- Update to version 1.0.1.0 revision 0 with cabal2obs.
+
+---



Other differences:
--
++ ghc-monad-control.spec ++
--- /var/tmp/diff_new_pack.TZFFib/_old  2016-07-20 09:27:26.0 +0200
+++ /var/tmp/diff_new_pack.TZFFib/_new  2016-07-20 09:27:26.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-monad-control
 #
-# 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,18 +17,14 @@
 
 
 %global pkg_name monad-control
-
 Name:   ghc-%{pkg_name}
 Version:1.0.1.0
 Release:0
 Summary:Lift control operations, like exception catching, through 
monad transformers
 License:BSD-3-Clause
 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
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-rpm-macros
 # Begin cabal-rpm deps:
@@ -36,6 +32,7 @@
 BuildRequires:  ghc-transformers-base-devel
 BuildRequires:  ghc-transformers-compat-devel
 BuildRequires:  ghc-transformers-devel
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # End cabal-rpm deps
 
 %description
@@ -54,28 +51,29 @@
 exploits the 'RankNTypes' and 'TypeFamilies' language extensions to simplify
 and speedup most definitions.
 
-
 %package devel
 Summary:Haskell %{pkg_name} library development files
 Group:  Development/Libraries/Other
+Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
 Requires(postun): ghc-compiler = %{ghc_version}
-Requires:   %{name} = %{version}-%{release}
 
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
 
-
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
+
 %build
 %ghc_lib_build
 
+
 %install
 %ghc_lib_install
 
+
 %post devel
 %ghc_pkg_recache
 
@@ -88,6 +86,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc README.markdown
+%doc CHANGELOG README.markdown
 
 %changelog




commit ghc-monad-control for openSUSE:Factory

2016-04-12 Thread h_root
Hello community,

here is the log from the commit of package ghc-monad-control for 
openSUSE:Factory checked in at 2016-04-12 19:38:10

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


Package is "ghc-monad-control"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-control/ghc-monad-control.changes  
2016-02-01 19:57:22.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-monad-control.new/ghc-monad-control.changes 
2016-04-12 19:38:11.0 +0200
@@ -1,0 +2,16 @@
+Thu Apr  7 15:00:08 UTC 2016 - mimi...@gmail.com
+
+- update to 1.0.1.0
+- removed useless _service
+* Added the functions:
+
+  liftThrough
+  :: (MonadTransControl t, Monad (t m), Monad m)
+  => (m (StT t a) -> m (StT t b)) -- ^
+  -> t m a -> t m b
+
+  captureT :: (MonadTransControl t, Monad (t m), Monad m) => t m (StT t ())
+  captureM :: MonadBaseControl b m => m (StM m ())
+
+
+---

Old:

  _service
  monad-control-1.0.0.5.tar.gz

New:

  monad-control-1.0.1.0.tar.gz



Other differences:
--
++ ghc-monad-control.spec ++
--- /var/tmp/diff_new_pack.IzDUAV/_old  2016-04-12 19:38:12.0 +0200
+++ /var/tmp/diff_new_pack.IzDUAV/_new  2016-04-12 19:38:12.0 +0200
@@ -19,7 +19,7 @@
 %global pkg_name monad-control
 
 Name:   ghc-%{pkg_name}
-Version:1.0.0.5
+Version:1.0.1.0
 Release:0
 Summary:Lift control operations, like exception catching, through 
monad transformers
 License:BSD-3-Clause

++ monad-control-1.0.0.5.tar.gz -> monad-control-1.0.1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-control-1.0.0.5/CHANGELOG 
new/monad-control-1.0.1.0/CHANGELOG
--- old/monad-control-1.0.0.5/CHANGELOG 2016-01-28 11:03:35.0 +0100
+++ new/monad-control-1.0.1.0/CHANGELOG 2016-04-06 00:53:58.0 +0200
@@ -1,3 +1,18 @@
+1.0.1.0
+
+* Added the functions:
+
+  liftThrough
+:: (MonadTransControl t, Monad (t m), Monad m)
+=> (m (StT t a) -> m (StT t b)) -- ^
+-> t m a -> t m b
+
+  captureT :: (MonadTransControl t, Monad (t m), Monad m) => t m (StT t ())
+  captureM :: MonadBaseControl b m => m (StM m ())
+
+* Added Travis-CI integration
+
+
 1.0.0.5
 
 * Support transformers-0.5 & ransformers-compat-0.5.*.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-control-1.0.0.5/Control/Monad/Trans/Control.hs 
new/monad-control-1.0.1.0/Control/Monad/Trans/Control.hs
--- old/monad-control-1.0.0.5/Control/Monad/Trans/Control.hs2016-01-28 
11:03:35.0 +0100
+++ new/monad-control-1.0.1.0/Control/Monad/Trans/Control.hs2016-04-06 
00:53:58.0 +0200
@@ -29,23 +29,25 @@
 ( -- * MonadTransControl
   MonadTransControl(..), Run
 
-  -- ** Defaults for MonadTransControl
+  -- ** Defaults
   -- $MonadTransControlDefaults
 , RunDefault, defaultLiftWith, defaultRestoreT
 
   -- * MonadBaseControl
 , MonadBaseControl (..), RunInBase
 
-  -- ** Defaults for MonadBaseControl
+  -- ** Defaults
   -- $MonadBaseControlDefaults
 , ComposeSt, RunInBaseDefault, defaultLiftBaseWith, defaultRestoreM
 
   -- * Utility functions
-, control, embed, embed_
+, control, embed, embed_, captureT, captureM
 
 , liftBaseOp, liftBaseOp_
 
 , liftBaseDiscard, liftBaseOpDiscard
+
+, liftThrough
 ) where
 
 
@@ -464,6 +466,16 @@
 embed_ f = liftBaseWith $ \runInBase -> return (void . runInBase . f)
 {-# INLINABLE embed_ #-}
 
+-- | Capture the current state of a transformer
+captureT :: (MonadTransControl t, Monad (t m), Monad m) => t m (StT t ())
+captureT = liftWith $ \runInM -> runInM (return ())
+{-# INLINABLE captureT #-}
+
+-- | Capture the current state above the base monad
+captureM :: MonadBaseControl b m => m (StM m ())
+captureM = liftBaseWith $ \runInBase -> runInBase (return ())
+{-# INLINABLE captureM #-}
+
 -- | @liftBaseOp@ is a particular application of 'liftBaseWith' that allows
 -- lifting control operations of type:
 --
@@ -525,3 +537,13 @@
   ->  (a -> m ()) -> m c
 liftBaseOpDiscard f g = liftBaseWith $ \runInBase -> f $ void . runInBase . g
 {-# INLINABLE liftBaseOpDiscard #-}
+
+-- | Transform an action in @t m@ using a transformer that operates on the 
underlying monad @m@
+liftThrough
+:: (MonadTransControl t, Monad (t m), Monad m)
+=> (m (StT t a) -> m (StT t b)) -- ^
+-> t m a -> t m b
+liftThrough f t = do
+  st <- liftWith $ \run -> do
+f $ run t
+  restoreT $ return st
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'

commit ghc-monad-control for openSUSE:Factory

2016-02-01 Thread h_root
Hello community,

here is the log from the commit of package ghc-monad-control for 
openSUSE:Factory checked in at 2016-02-01 19:56:57

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


Package is "ghc-monad-control"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-control/ghc-monad-control.changes  
2015-05-21 08:12:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-monad-control.new/ghc-monad-control.changes 
2016-02-01 19:57:22.0 +0100
@@ -1,0 +2,6 @@
+Fri Jan 29 13:23:46 UTC 2016 - mimi...@gmail.com
+
+- update to 1.0.0.5
+* Support transformers-0.5 & ransformers-compat-0.5.*.
+
+---
@@ -5 +10,0 @@
-

Old:

  monad-control-1.0.0.4.tar.gz

New:

  monad-control-1.0.0.5.tar.gz



Other differences:
--
++ ghc-monad-control.spec ++
--- /var/tmp/diff_new_pack.PK3XiK/_old  2016-02-01 19:57:23.0 +0100
+++ /var/tmp/diff_new_pack.PK3XiK/_new  2016-02-01 19:57:23.0 +0100
@@ -19,7 +19,7 @@
 %global pkg_name monad-control
 
 Name:   ghc-%{pkg_name}
-Version:1.0.0.4
+Version:1.0.0.5
 Release:0
 Summary:Lift control operations, like exception catching, through 
monad transformers
 License:BSD-3-Clause

++ monad-control-1.0.0.4.tar.gz -> monad-control-1.0.0.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-control-1.0.0.4/CHANGELOG 
new/monad-control-1.0.0.5/CHANGELOG
--- old/monad-control-1.0.0.4/CHANGELOG 2015-02-13 20:55:40.0 +0100
+++ new/monad-control-1.0.0.5/CHANGELOG 2016-01-28 11:03:35.0 +0100
@@ -1,3 +1,8 @@
+1.0.0.5
+
+* Support transformers-0.5 & ransformers-compat-0.5.*.
+
+
 1.0.0.4
 
 * Support transformers-compat-0.4.*.
@@ -32,6 +37,12 @@
 * Add the embed, embed_ and liftBaseOpDiscard functions.
 
 
+0.3.3.1
+
+* Unconditionally add ExceptT instances using transformers-compat.
+  Courtesy of Adam Bergmark.
+
+
 0.3.3.0
 
 * Support transformers-0.4.0.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-control-1.0.0.4/monad-control.cabal 
new/monad-control-1.0.0.5/monad-control.cabal
--- old/monad-control-1.0.0.4/monad-control.cabal   2015-02-13 
20:55:40.0 +0100
+++ new/monad-control-1.0.0.5/monad-control.cabal   2016-01-28 
11:03:35.0 +0100
@@ -1,5 +1,5 @@
 Name:monad-control
-Version: 1.0.0.4
+Version: 1.0.0.5
 Synopsis:Lift control operations, like exception catching, through 
monad transformers
 License: BSD3
 License-file:LICENSE
@@ -42,8 +42,8 @@
 
   Build-depends: base >= 4.5   && < 5
, stm  >= 2.3   && < 3
-   , transformers >= 0.2   && < 0.5
-   , transformers-compat  >= 0.3   && < 0.5
+   , transformers >= 0.2   && < 0.6
+   , transformers-compat  >= 0.3   && < 0.6
, transformers-base>= 0.4.4 && < 0.5
 
   Ghc-options: -Wall




commit ghc-monad-control for openSUSE:Factory

2015-05-20 Thread h_root
Hello community,

here is the log from the commit of package ghc-monad-control for 
openSUSE:Factory checked in at 2015-05-21 08:12:59

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


Package is "ghc-monad-control"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-control/ghc-monad-control.changes  
2014-04-02 17:19:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-monad-control.new/ghc-monad-control.changes 
2015-05-21 08:12:59.0 +0200
@@ -1,0 +2,19 @@
+Tue Apr 21 19:32:20 UTC 2015 - mimi...@gmail.com
+
+- update to 1.0.0.4
+
+* Support transformers-compat-0.4.*.
+* Unconditionally add ExceptT instances using transformers-compat.
+  Courtesy of Adam Bergmark.
+* Add a base >= 4.5 constraint because monad-control only builds on GHC >= 7.4.
+* Use Safe instead of Trustworthy.
+This requires a dependency on stm.
+* Switch the associated data types StT and StM to associated type synonyms.
+This is an API breaking change. To fix your MonadTransControl or
+MonadBaseControl instances simply remove the StT or StM constructors
+and deconstructors for your monad transformers or monad.
+* Add the embed, embed_ and liftBaseOpDiscard functions.
+* Support transformers-0.4.0.0
+* Drop unicode syntax and symbols
+
+---

Old:

  monad-control-0.3.2.1.tar.gz

New:

  monad-control-1.0.0.4.tar.gz



Other differences:
--
++ ghc-monad-control.spec ++
--- /var/tmp/diff_new_pack.u8qCqQ/_old  2015-05-21 08:13:00.0 +0200
+++ /var/tmp/diff_new_pack.u8qCqQ/_new  2015-05-21 08:13:00.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-monad-control
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -18,22 +18,23 @@
 
 %global pkg_name monad-control
 
-Name:   ghc-monad-control
-Version:0.3.2.1
+Name:   ghc-%{pkg_name}
+Version:1.0.0.4
 Release:0
 Summary:Lift control operations, like exception catching, through 
monad transformers
 License:BSD-3-Clause
 Group:  System/Libraries
 
-Url:http://hackage.haskell.org/package/%{pkg_name}
-Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
+Url:https://hackage.haskell.org/package/%{pkg_name}
+Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-rpm-macros
 # Begin cabal-rpm deps:
-BuildRequires:  ghc-base-unicode-symbols-devel
+BuildRequires:  ghc-stm-devel
 BuildRequires:  ghc-transformers-base-devel
+BuildRequires:  ghc-transformers-compat-devel
 BuildRequires:  ghc-transformers-devel
 # End cabal-rpm deps
 
@@ -53,18 +54,14 @@
 exploits the 'RankNTypes' and 'TypeFamilies' language extensions to simplify
 and speedup most definitions.
 
-The following 'criterion' based benchmark shows that 'monad-control' is on
-average about 99% faster than 'monad-peel':
-
-git clone https://github.com/basvandijk/bench-monad-peel-control.
-
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
 Group:  Development/Libraries/Other
-Provides:   %{name}-static = %{version}-%{release}
-Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
+Requires:   %{name} = %{version}-%{release}
 
 %description devel
 This package provides the Haskell %{pkg_name} library development files.

++ monad-control-0.3.2.1.tar.gz -> monad-control-1.0.0.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-control-0.3.2.1/CHANGELOG 
new/monad-control-1.0.0.4/CHANGELOG
--- old/monad-control-0.3.2.1/CHANGELOG 1970-01-01 01:00:00.0 +0100
+++ new/monad-control-1.0.0.4/CHANGELOG 2015-02-13 20:55:40.0 +0100
@@ -0,0 +1,444 @@
+1.0.0.4
+
+* Support transformers-compat-0.4.*.
+
+
+1.0.0.3
+
+* Unconditionally add ExceptT instances using transformers-compat.
+  Courtesy of Adam Bergmark.
+
+
+1.0.0.2
+
+* Add a base >= 4.5 constraint because monad-control only builds on GHC >= 7.4.
+
+
+1.0.0.1
+
+* Use Safe instead of Trustworthy.
+
+  This requires a dependency on stm.
+
+
+1.0.0.0
+
+* Switch