commit ghc-unliftio for openSUSE:Factory

2020-11-06 Thread root
Hello community,

here is the log from the commit of package ghc-unliftio for openSUSE:Factory 
checked in at 2020-11-06 23:44:51

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


Package is "ghc-unliftio"

Fri Nov  6 23:44:51 2020 rev:13 rq:846364 version:0.2.13.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-unliftio/ghc-unliftio.changes
2020-08-28 21:40:26.76084 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-unliftio.new.11331/ghc-unliftio.changes 
2020-11-06 23:45:13.847248516 +0100
@@ -1,0 +2,8 @@
+Fri Oct 30 03:01:41 UTC 2020 - psim...@suse.com
+
+- Update unliftio to version 0.2.13.1.
+  ## 0.2.13.1
+
+  * Improve `UnliftIO.Exception` documentation
+
+---

Old:

  unliftio-0.2.13.tar.gz

New:

  unliftio-0.2.13.1.tar.gz



Other differences:
--
++ ghc-unliftio.spec ++
--- /var/tmp/diff_new_pack.SsrTDK/_old  2020-11-06 23:45:14.867246556 +0100
+++ /var/tmp/diff_new_pack.SsrTDK/_new  2020-11-06 23:45:14.871246548 +0100
@@ -19,7 +19,7 @@
 %global pkg_name unliftio
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.2.13
+Version:0.2.13.1
 Release:0
 Summary:The MonadUnliftIO typeclass for unlifting monads to IO 
(batteries included)
 License:MIT

++ unliftio-0.2.13.tar.gz -> unliftio-0.2.13.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.13/ChangeLog.md 
new/unliftio-0.2.13.1/ChangeLog.md
--- old/unliftio-0.2.13/ChangeLog.md2020-05-21 10:45:35.0 +0200
+++ new/unliftio-0.2.13.1/ChangeLog.md  2020-10-29 10:02:46.0 +0100
@@ -1,5 +1,9 @@
 # Changelog for unliftio
 
+## 0.2.13.1
+
+* Improve `UnliftIO.Exception` documentation
+
 ## 0.2.13
 
 * Add `UnliftIO.STM.orElse`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.13/README.md 
new/unliftio-0.2.13.1/README.md
--- old/unliftio-0.2.13/README.md   2020-05-21 10:45:16.0 +0200
+++ new/unliftio-0.2.13.1/README.md 2020-10-29 11:04:07.0 +0100
@@ -1,6 +1,6 @@
 # unliftio
 
-[![Build 
Status](https://dev.azure.com/fpco/unliftio/_apis/build/status/fpco.unliftio?branchName=master)](https://dev.azure.com/fpco/unliftio/_build/latest?definitionId=3=master)
+![Tests](https://github.com/fpco/unliftio/workflows/Tests/badge.svg)
 
 
 Provides the core `MonadUnliftIO` typeclass, a number of common
@@ -131,31 +131,33 @@
 pre-unlifted versions of functions (like
 `UnliftIO.Exception.catch`). But ultimately, you'll probably want to
 use the typeclass directly. The type class has only one method --
-`askUnliftIO`:
+`withRunInIO`:
 
 ```haskell
-newtype UnliftIO m = UnliftIO { unliftIO :: forall a. m a -> IO a }
-
 class MonadIO m => MonadUnliftIO m where
-  askUnliftIO :: m (UnliftIO m)
+  withRunInIO :: ((forall a. m a -> IO a) -> IO b) -> m b
 ```
 
-`askUnliftIO` gives us a function to run arbitrary computation in `m`
+`withRunInIO` provides a function to run arbitrary computations in `m`
 in `IO`. Thus the "unlift": it's like `liftIO`, but the other way around.
 
 Here are some sample typeclass instances:
 
 ```haskell
 instance MonadUnliftIO IO where
-  askUnliftIO = return (UnliftIO id)
-instance MonadUnliftIO m => MonadUnliftIO (IdentityT m) where
-  askUnliftIO = IdentityT $
-withUnliftIO $ \u ->
-return (UnliftIO (unliftIO u . runIdentityT))
+  withRunInIO inner = inner id
+
 instance MonadUnliftIO m => MonadUnliftIO (ReaderT r m) where
-  askUnliftIO = ReaderT $ \r ->
-withUnliftIO $ \u ->
-return (UnliftIO (unliftIO u . flip runReaderT r))
+  withRunInIO inner =
+ReaderT $ \r ->
+withRunInIO $ \run ->
+inner (run . flip runReaderT r)
+
+instance MonadUnliftIO m => MonadUnliftIO (IdentityT m) where
+  withRunInIO inner =
+IdentityT $
+withRunInIO $ \run ->
+inner (run . runIdentityT)
 ```
 
 Note that:
@@ -163,21 +165,12 @@
 * The `IO` instance does not actually do any lifting or unlifting, and
   therefore it can use `id`
 * `IdentityT` is essentially just wrapping/unwrapping its data
-  constructor, and then recursively calling `withUnliftIO` on the
+  constructor, and then recursively calling `withRunInIO` on the
   underlying monad.
 * `ReaderT` is just like `IdentityT`, but it captures the reader
   environment when starting.
 
-We can use `askUnliftIO` to unlift a function:
-
-```haskell
-timeout :: MonadUnliftIO m => Int -> m a -> m (Maybe a)
-timeout x y = do
-  (u :: UnliftIO m) <- askUnliftIO
-  liftIO $ System.Timeout.timeout x $ unliftIO u y

commit ghc-unliftio for openSUSE:Factory

2020-08-28 Thread root
Hello community,

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

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


Package is "ghc-unliftio"

Fri Aug 28 21:40:23 2020 rev:12 rq:829472 version:0.2.13

Changes:

--- /work/SRC/openSUSE:Factory/ghc-unliftio/ghc-unliftio.changes
2020-06-19 17:20:21.555365409 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-unliftio.new.3399/ghc-unliftio.changes  
2020-08-28 21:40:26.76084 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:46:27 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-unliftio.spec ++
--- /var/tmp/diff_new_pack.bkMFrL/_old  2020-08-28 21:40:27.580866966 +0200
+++ /var/tmp/diff_new_pack.bkMFrL/_new  2020-08-28 21:40:27.584866967 +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-unliftio for openSUSE:Factory

2020-06-19 Thread root
Hello community,

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

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


Package is "ghc-unliftio"

Fri Jun 19 17:20:20 2020 rev:11 rq:815207 version:0.2.13

Changes:

--- /work/SRC/openSUSE:Factory/ghc-unliftio/ghc-unliftio.changes
2020-05-11 13:36:44.296537063 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-unliftio.new.3606/ghc-unliftio.changes  
2020-06-19 17:20:21.555365409 +0200
@@ -2 +2 @@
-Tue Mar 24 08:07:10 UTC 2020 - psim...@suse.com
+Tue Jun  9 09:26:16 UTC 2020 - psim...@suse.com
@@ -4,2 +4 @@
-- Update unliftio to version 0.2.12.1.
-  ## 0.2.12.1
+- Add unliftio at version 0.2.13.
@@ -7,76 +5,0 @@
-  * Minor doc improvements
-

-Fri Nov  8 16:15:08 UTC 2019 - Peter Simons 
-
-- Drop obsolete group attributes.
-

-Sat Jul 13 02:01:41 UTC 2019 - psim...@suse.com
-
-- Update unliftio to version 0.2.12.
-  ## 0.2.12
-
-  * Dropped support for ghc-7.8
-  * Addition of `UnliftIO.IO.File` module and atomic+durable file writes:
-
-* `writeBinaryFile`
-* `writeBinaryFileAtomic`
-* `writeBinaryFileDurable`
-* `writeBinaryFileDurableAtomic`
-* `withBinaryFileAtomic`
-* `withBinaryFileDurable`
-* `withBinaryFileDurableAtomic`
-* `ensureFileDurable`
-

-Sat Jun  8 02:02:34 UTC 2019 - psim...@suse.com
-
-- Update unliftio to version 0.2.11.
-  ## 0.2.11
-
-  * Deprecate `forkWithUnmask` in favor of the newly added `forkIOWithUnmask` 
to
-improve consistency. [https://github.com/fpco/unliftio/issues/44]
-

-Mon Dec 31 03:01:33 UTC 2018 - psim...@suse.com
-
-- Update unliftio to version 0.2.10.
-  ## 0.2.10
-
-  * Add pooling related functions for unliftio
-

-Wed Dec 12 03:02:02 UTC 2018 - psim...@suse.com
-
-- Update unliftio to version 0.2.9.0.
-  ## 0.2.9.0
-
-  * Add the new `Conc` datatype as a more efficient alternative to 
`Concurrently`
-

-Thu Oct  4 15:40:13 UTC 2018 - psim...@suse.com
-
-- Update unliftio to version 0.2.8.1.
-  ## 0.2.8.1
-
-  * Support for `stm-2.5.0.0`
-
-  ## 0.2.8.0
-
-  * Add 'UnliftIO.Memoize'
-

-Thu Aug 30 15:29:11 UTC 2018 - psim...@suse.com
-
-- Update unliftio to version 0.2.7.1.
-  # Changelog for unliftio
-
-  ## 0.2.7.1
-
-  * Minor doc improvements
-

-Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
-
-- Add unliftio at version 0.2.7.0.

Old:

  unliftio-0.2.12.1.tar.gz

New:

  unliftio-0.2.13.tar.gz



Other differences:
--
++ ghc-unliftio.spec ++
--- /var/tmp/diff_new_pack.cZTtMc/_old  2020-06-19 17:20:22.043366690 +0200
+++ /var/tmp/diff_new_pack.cZTtMc/_new  2020-06-19 17:20:22.047366702 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-unliftio
 #
-# 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 unliftio
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.2.12.1
+Version:0.2.13
 Release:0
 Summary:The MonadUnliftIO typeclass for unlifting monads to IO 
(batteries included)
 License:MIT

++ unliftio-0.2.12.1.tar.gz -> unliftio-0.2.13.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.12.1/ChangeLog.md 
new/unliftio-0.2.13/ChangeLog.md
--- old/unliftio-0.2.12.1/ChangeLog.md  2020-03-01 10:07:38.0 +0100
+++ new/unliftio-0.2.13/ChangeLog.md2020-05-21 10:45:35.0 +0200
@@ -1,5 +1,10 @@
 # Changelog for unliftio
 
+## 0.2.13
+
+* Add `UnliftIO.STM.orElse`
+* Re-export all of `SeekMode`
+
 ## 0.2.12.1
 
 * Minor doc improvements
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.12.1/README.md 
new/unliftio-0.2.13/README.md
--- old/unliftio-0.2.12.1/README.md 2020-03-01 09:17:35.0 +0100
+++ new/unliftio-0.2.13/README.md   2020-05-21 10:45:16.0 +0200
@@ -1,7 +1,6 @@
 # unliftio
 
-[![Travis Build 

commit ghc-unliftio for openSUSE:Factory

2020-05-11 Thread root
Hello community,

here is the log from the commit of package ghc-unliftio for openSUSE:Factory 
checked in at 2020-05-11 13:36:41

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


Package is "ghc-unliftio"

Mon May 11 13:36:41 2020 rev:10 rq:801062 version:0.2.12.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-unliftio/ghc-unliftio.changes
2019-12-27 13:58:52.828818107 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-unliftio.new.2738/ghc-unliftio.changes  
2020-05-11 13:36:44.296537063 +0200
@@ -1,0 +2,8 @@
+Tue Mar 24 08:07:10 UTC 2020 - psim...@suse.com
+
+- Update unliftio to version 0.2.12.1.
+  ## 0.2.12.1
+
+  * Minor doc improvements
+
+---

Old:

  unliftio-0.2.12.tar.gz

New:

  unliftio-0.2.12.1.tar.gz



Other differences:
--
++ ghc-unliftio.spec ++
--- /var/tmp/diff_new_pack.LVvKjw/_old  2020-05-11 13:36:45.076538698 +0200
+++ /var/tmp/diff_new_pack.LVvKjw/_new  2020-05-11 13:36:45.080538706 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-unliftio
 #
-# 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 unliftio
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.2.12
+Version:0.2.12.1
 Release:0
 Summary:The MonadUnliftIO typeclass for unlifting monads to IO 
(batteries included)
 License:MIT

++ unliftio-0.2.12.tar.gz -> unliftio-0.2.12.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.12/ChangeLog.md 
new/unliftio-0.2.12.1/ChangeLog.md
--- old/unliftio-0.2.12/ChangeLog.md2019-07-12 06:21:01.0 +0200
+++ new/unliftio-0.2.12.1/ChangeLog.md  2020-03-01 10:07:38.0 +0100
@@ -1,5 +1,9 @@
 # Changelog for unliftio
 
+## 0.2.12.1
+
+* Minor doc improvements
+
 ## 0.2.12
 
 * Dropped support for ghc-7.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.12/src/UnliftIO/Exception.hs 
new/unliftio-0.2.12.1/src/UnliftIO/Exception.hs
--- old/unliftio-0.2.12/src/UnliftIO/Exception.hs   2018-12-11 
08:12:26.0 +0100
+++ new/unliftio-0.2.12.1/src/UnliftIO/Exception.hs 2020-03-01 
09:17:35.0 +0100
@@ -9,7 +9,7 @@
 --
 -- This module works best when your cleanup functions adhere to certain
 -- expectations around exception safety and interruptible actions.
--- For more details, see [this exception safety 
tutorial](https://haskell-lang.org/tutorial/exception-safety).
+-- For more details, see [this exception safety 
tutorial](https://haskell.fpcomplete.com/tutorial/exceptions).
 module UnliftIO.Exception
   ( -- * Throwing
 throwIO
@@ -533,7 +533,7 @@
 -- | @since 0.1.0.0
 instance Show StringException where
 show (StringException s cs) = concat
-$ "Control.Exception.Safe.throwString called with:\n\n"
+$ "UnliftIO.Exception.throwString called with:\n\n"
 : s
 : "\nCalled from:\n"
 : map go (getCallStack cs)
@@ -551,7 +551,7 @@
 
 -- | @since 0.1.0.0
 instance Show StringException where
-show (StringException s _) = "Control.Exception.Safe.throwString called 
with:\n\n" ++ s
+show (StringException s _) = "UnliftIO.Exception.throwString called 
with:\n\n" ++ s
 #endif
 
 -- | @since 0.1.0.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.12/unliftio.cabal 
new/unliftio-0.2.12.1/unliftio.cabal
--- old/unliftio-0.2.12/unliftio.cabal  2019-07-12 06:21:15.0 +0200
+++ new/unliftio-0.2.12.1/unliftio.cabal2020-03-01 10:08:20.0 
+0100
@@ -1,13 +1,13 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.31.2.
+-- This file has been generated from package.yaml by hpack version 0.33.0.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 55a1160a6cc39aa1529ed95fe90e85ac31d632ee8ea1f31f06cb77bd2502de5b
+-- hash: 8b1984c98016e38f78537ddb97b34bf8d25ab93ad8a47c64ad675dc6f20f62c4
 
 name:   unliftio
-version:0.2.12
+version:0.2.12.1
 synopsis:   The MonadUnliftIO typeclass for unlifting monads to IO 
(batteries included)
 description:Please see the documentation and README at 

 category:   Control
@@ -23,6 +23,27 @@
 ChangeLog.md
 
 library
+  exposed-modules:
+  UnliftIO
+  

commit ghc-unliftio for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-unliftio for openSUSE:Factory 
checked in at 2019-12-27 13:58:50

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


Package is "ghc-unliftio"

Fri Dec 27 13:58:50 2019 rev:9 rq:759550 version:0.2.12

Changes:

--- /work/SRC/openSUSE:Factory/ghc-unliftio/ghc-unliftio.changes
2019-07-29 17:27:15.726282871 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-unliftio.new.6675/ghc-unliftio.changes  
2019-12-27 13:58:52.828818107 +0100
@@ -1,0 +2,5 @@
+Fri Nov  8 16:15:08 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---



Other differences:
--
++ ghc-unliftio.spec ++
--- /var/tmp/diff_new_pack.0Zi3hT/_old  2019-12-27 13:58:55.092819201 +0100
+++ /var/tmp/diff_new_pack.0Zi3hT/_new  2019-12-27 13:58:55.096819203 +0100
@@ -23,7 +23,6 @@
 Release:0
 Summary:The MonadUnliftIO typeclass for unlifting monads to IO 
(batteries included)
 License:MIT
-Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
@@ -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-unliftio for openSUSE:Factory

2019-07-29 Thread root
Hello community,

here is the log from the commit of package ghc-unliftio for openSUSE:Factory 
checked in at 2019-07-29 17:27:10

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


Package is "ghc-unliftio"

Mon Jul 29 17:27:10 2019 rev:8 rq:715423 version:0.2.12

Changes:

--- /work/SRC/openSUSE:Factory/ghc-unliftio/ghc-unliftio.changes
2019-06-12 13:18:58.240560658 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-unliftio.new.4126/ghc-unliftio.changes  
2019-07-29 17:27:15.726282871 +0200
@@ -1,0 +2,18 @@
+Sat Jul 13 02:01:41 UTC 2019 - psim...@suse.com
+
+- Update unliftio to version 0.2.12.
+  ## 0.2.12
+
+  * Dropped support for ghc-7.8
+  * Addition of `UnliftIO.IO.File` module and atomic+durable file writes:
+
+* `writeBinaryFile`
+* `writeBinaryFileAtomic`
+* `writeBinaryFileDurable`
+* `writeBinaryFileDurableAtomic`
+* `withBinaryFileAtomic`
+* `withBinaryFileDurable`
+* `withBinaryFileDurableAtomic`
+* `ensureFileDurable`
+
+---

Old:

  unliftio-0.2.11.tar.gz

New:

  unliftio-0.2.12.tar.gz



Other differences:
--
++ ghc-unliftio.spec ++
--- /var/tmp/diff_new_pack.bUWrLF/_old  2019-07-29 17:27:18.554281825 +0200
+++ /var/tmp/diff_new_pack.bUWrLF/_new  2019-07-29 17:27:18.582281814 +0200
@@ -19,7 +19,7 @@
 %global pkg_name unliftio
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.2.11
+Version:0.2.12
 Release:0
 Summary:The MonadUnliftIO typeclass for unlifting monads to IO 
(batteries included)
 License:MIT
@@ -28,6 +28,7 @@
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-async-devel
+BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-deepseq-devel
 BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-filepath-devel

++ unliftio-0.2.11.tar.gz -> unliftio-0.2.12.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.11/ChangeLog.md 
new/unliftio-0.2.12/ChangeLog.md
--- old/unliftio-0.2.11/ChangeLog.md2019-06-07 12:37:42.0 +0200
+++ new/unliftio-0.2.12/ChangeLog.md2019-07-12 06:21:01.0 +0200
@@ -1,5 +1,19 @@
 # Changelog for unliftio
 
+## 0.2.12
+
+* Dropped support for ghc-7.8
+* Addition of `UnliftIO.IO.File` module and atomic+durable file writes:
+
+  * `writeBinaryFile`
+  * `writeBinaryFileAtomic`
+  * `writeBinaryFileDurable`
+  * `writeBinaryFileDurableAtomic`
+  * `withBinaryFileAtomic`
+  * `withBinaryFileDurable`
+  * `withBinaryFileDurableAtomic`
+  * `ensureFileDurable`
+
 ## 0.2.11
 
 * Deprecate `forkWithUnmask` in favor of the newly added `forkIOWithUnmask` to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.11/cbits/file-posix.c 
new/unliftio-0.2.12/cbits/file-posix.c
--- old/unliftio-0.2.11/cbits/file-posix.c  1970-01-01 01:00:00.0 
+0100
+++ new/unliftio-0.2.12/cbits/file-posix.c  2019-07-12 06:21:01.0 
+0200
@@ -0,0 +1,34 @@
+#include 
+#include 
+#include 
+
+int unliftio_o_tmpfile( void )
+{
+#ifdef __O_TMPFILE
+  return __O_TMPFILE;
+#else
+  return 0;
+#endif
+}
+
+int unliftio_at_fdcwd( void )
+{
+  return AT_FDCWD;
+}
+
+int unliftio_at_symlink_follow( void )
+{
+  return AT_SYMLINK_FOLLOW;
+}
+
+
+int unliftio_s_irusr( void )
+{
+  return S_IRUSR;
+}
+
+int unliftio_s_iwusr( void )
+{
+  return S_IWUSR;
+}
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.11/src/UnliftIO/IO/File/Posix.hs 
new/unliftio-0.2.12/src/UnliftIO/IO/File/Posix.hs
--- old/unliftio-0.2.11/src/UnliftIO/IO/File/Posix.hs   1970-01-01 
01:00:00.0 +0100
+++ new/unliftio-0.2.12/src/UnliftIO/IO/File/Posix.hs   2019-07-12 
06:21:01.0 +0200
@@ -0,0 +1,582 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE GeneralizedNewtypeDeriving #-}
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE ViewPatterns #-}
+module UnliftIO.IO.File.Posix
+  ( withBinaryFileDurable
+  , withBinaryFileDurableAtomic
+  , withBinaryFileAtomic
+  , ensureFileDurable
+  )
+  where
+
+#if __GLASGOW_HASKELL__ < 710
+import Control.Applicative
+#endif
+import Control.Monad (forM_, guard, unless, void, when)
+import Control.Monad.IO.Unlift
+import Data.Bits (Bits, (.|.))
+import Data.ByteString (ByteString)
+import Data.Maybe (fromMaybe)
+import Data.Typeable (cast)
+import Foreign (allocaBytes)
+import Foreign.C (CInt(..), 

commit ghc-unliftio for openSUSE:Factory

2019-06-12 Thread root
Hello community,

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

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


Package is "ghc-unliftio"

Wed Jun 12 13:18:57 2019 rev:7 rq:709206 version:0.2.11

Changes:

--- /work/SRC/openSUSE:Factory/ghc-unliftio/ghc-unliftio.changes
2019-01-25 22:43:39.475206564 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-unliftio.new.4811/ghc-unliftio.changes  
2019-06-12 13:18:58.240560658 +0200
@@ -1,0 +2,9 @@
+Sat Jun  8 02:02:34 UTC 2019 - psim...@suse.com
+
+- Update unliftio to version 0.2.11.
+  ## 0.2.11
+
+  * Deprecate `forkWithUnmask` in favor of the newly added `forkIOWithUnmask` 
to
+improve consistency. [https://github.com/fpco/unliftio/issues/44]
+
+---

Old:

  unliftio-0.2.10.tar.gz

New:

  unliftio-0.2.11.tar.gz



Other differences:
--
++ ghc-unliftio.spec ++
--- /var/tmp/diff_new_pack.2Ssk1I/_old  2019-06-12 13:18:59.356560148 +0200
+++ /var/tmp/diff_new_pack.2Ssk1I/_new  2019-06-12 13:18:59.356560148 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-unliftio
 #
-# 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 unliftio
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.2.10
+Version:0.2.11
 Release:0
 Summary:The MonadUnliftIO typeclass for unlifting monads to IO 
(batteries included)
 License:MIT

++ unliftio-0.2.10.tar.gz -> unliftio-0.2.11.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.10/ChangeLog.md 
new/unliftio-0.2.11/ChangeLog.md
--- old/unliftio-0.2.10/ChangeLog.md2018-12-30 13:46:30.0 +0100
+++ new/unliftio-0.2.11/ChangeLog.md2019-06-07 12:37:42.0 +0200
@@ -1,5 +1,10 @@
 # Changelog for unliftio
 
+## 0.2.11
+
+* Deprecate `forkWithUnmask` in favor of the newly added `forkIOWithUnmask` to
+  improve consistency. [https://github.com/fpco/unliftio/issues/44]
+
 ## 0.2.10
 
 * Add pooling related functions for unliftio
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.10/src/UnliftIO/Concurrent.hs 
new/unliftio-0.2.11/src/UnliftIO/Concurrent.hs
--- old/unliftio-0.2.10/src/UnliftIO/Concurrent.hs  2018-01-02 
17:25:04.0 +0100
+++ new/unliftio-0.2.11/src/UnliftIO/Concurrent.hs  2019-06-07 
12:37:42.0 +0200
@@ -11,7 +11,7 @@
 ThreadId,
 
 -- * Basic concurrency operations
-myThreadId, forkIO, forkWithUnmask, forkFinally, killThread, throwTo,
+myThreadId, forkIO, forkWithUnmask, forkIOWithUnmask,  forkFinally, 
killThread, throwTo,
 
 -- ** Threads with affinity
 forkOn, forkOnWithUnmask, getNumCapabilities, setNumCapabilities,
@@ -60,11 +60,20 @@
 
 -- | Unlifted version of 'C.forkIOWithUnmask'.
 --
+-- @since 0.2.11
+forkIOWithUnmask :: MonadUnliftIO m => ((forall a. m a -> m a) -> m ()) -> m 
ThreadId
+forkIOWithUnmask m =
+  withRunInIO $ \run -> C.forkIOWithUnmask $ \unmask -> run $ m $ liftIO . 
unmask . run
+{-# INLINABLE forkIOWithUnmask #-}
+
+-- | Please use 'forkIOWithUnmask' instead. This function has been deprecated
+-- in release 0.2.11 and will be removed in the next major release.
+--
 -- @since 0.1.1.0
 forkWithUnmask :: MonadUnliftIO m => ((forall a. m a -> m a) -> m ()) -> m 
ThreadId
-forkWithUnmask m =
-  withRunInIO $ \run -> C.forkIOWithUnmask $ \unmask -> run $ m $ liftIO . 
unmask . run
+forkWithUnmask = forkIOWithUnmask
 {-# INLINABLE forkWithUnmask #-}
+{-# DEPRECATED forkWithUnmask "forkWithUnmask has been renamed to 
forkIOWithUnmask" #-}
 
 -- | Unlifted version of 'C.forkFinally'.
 --
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.10/unliftio.cabal 
new/unliftio-0.2.11/unliftio.cabal
--- old/unliftio-0.2.10/unliftio.cabal  2018-12-30 13:51:55.0 +0100
+++ new/unliftio-0.2.11/unliftio.cabal  2019-06-07 12:40:40.0 +0200
@@ -4,10 +4,10 @@
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 806905923ede98dbf20fe24ac95d14b92b4a62626183173c24b86850dc5beada
+-- hash: 9b54d473debcf0958351a2c8a7924ed9a8d3504243c348545109ffe72b005683
 
 name:   unliftio
-version:0.2.10
+version:0.2.11
 synopsis:   The MonadUnliftIO typeclass for unlifting monads to IO 

commit ghc-unliftio for openSUSE:Factory

2019-01-25 Thread root
Hello community,

here is the log from the commit of package ghc-unliftio for openSUSE:Factory 
checked in at 2019-01-25 22:43:39

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


Package is "ghc-unliftio"

Fri Jan 25 22:43:39 2019 rev:6 rq:667146 version:0.2.10

Changes:

--- /work/SRC/openSUSE:Factory/ghc-unliftio/ghc-unliftio.changes
2018-12-21 08:21:28.761566619 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-unliftio.new.28833/ghc-unliftio.changes 
2019-01-25 22:43:39.475206564 +0100
@@ -1,0 +2,8 @@
+Mon Dec 31 03:01:33 UTC 2018 - psim...@suse.com
+
+- Update unliftio to version 0.2.10.
+  ## 0.2.10
+
+  * Add pooling related functions for unliftio
+
+---

Old:

  unliftio-0.2.9.0.tar.gz

New:

  unliftio-0.2.10.tar.gz



Other differences:
--
++ ghc-unliftio.spec ++
--- /var/tmp/diff_new_pack.crOej9/_old  2019-01-25 22:43:39.963205962 +0100
+++ /var/tmp/diff_new_pack.crOej9/_new  2019-01-25 22:43:39.963205962 +0100
@@ -19,7 +19,7 @@
 %global pkg_name unliftio
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.2.9.0
+Version:0.2.10
 Release:0
 Summary:The MonadUnliftIO typeclass for unlifting monads to IO 
(batteries included)
 License:MIT
@@ -40,6 +40,7 @@
 BuildRequires:  ghc-unliftio-core-devel
 %if %{with tests}
 BuildRequires:  ghc-QuickCheck-devel
+BuildRequires:  ghc-containers-devel
 BuildRequires:  ghc-hspec-devel
 %endif
 

++ unliftio-0.2.9.0.tar.gz -> unliftio-0.2.10.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.9.0/ChangeLog.md 
new/unliftio-0.2.10/ChangeLog.md
--- old/unliftio-0.2.9.0/ChangeLog.md   2018-12-11 08:12:26.0 +0100
+++ new/unliftio-0.2.10/ChangeLog.md2018-12-30 13:46:30.0 +0100
@@ -1,5 +1,9 @@
 # Changelog for unliftio
 
+## 0.2.10
+
+* Add pooling related functions for unliftio
+
 ## 0.2.9.0
 
 * Add the new `Conc` datatype as a more efficient alternative to `Concurrently`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.9.0/README.md 
new/unliftio-0.2.10/README.md
--- old/unliftio-0.2.9.0/README.md  2018-08-27 20:11:52.0 +0200
+++ new/unliftio-0.2.10/README.md   2018-12-30 13:46:30.0 +0100
@@ -82,7 +82,7 @@
 (\h -> runReaderT (inner h) env)
 ```
 
-I dare you to try to and accomplish this with `MonadIO` and
+I dare you to try and accomplish this with `MonadIO` and
 `liftIO`. It simply can't be done. (If you're looking for the
 technical reason, it's because `IO` appears in
 [negative/argument 
position](https://www.fpcomplete.com/blog/2016/11/covariance-contravariance)
@@ -174,7 +174,7 @@
 ```haskell
 timeout :: MonadUnliftIO m => Int -> m a -> m (Maybe a)
 timeout x y = do
-  u <- askUnliftIO
+  (u :: UnliftIO m) <- askUnliftIO
   liftIO $ System.Timeout.timeout x $ unliftIO u y
 ```
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.9.0/src/UnliftIO/Async.hs 
new/unliftio-0.2.10/src/UnliftIO/Async.hs
--- old/unliftio-0.2.9.0/src/UnliftIO/Async.hs  2018-12-11 08:12:26.0 
+0100
+++ new/unliftio-0.2.10/src/UnliftIO/Async.hs   2018-12-30 13:46:30.0 
+0100
@@ -43,6 +43,20 @@
 -- ** Linking
 link, link2,
 
+-- ** Pooled concurrency
+pooledMapConcurrentlyN,
+pooledMapConcurrently,
+pooledMapConcurrentlyN_,
+pooledMapConcurrently_,
+pooledForConcurrentlyN,
+pooledForConcurrently,
+pooledForConcurrentlyN_,
+pooledForConcurrently_,
+pooledReplicateConcurrentlyN,
+pooledReplicateConcurrently,
+pooledReplicateConcurrentlyN_,
+pooledReplicateConcurrently_,
+
 -- * Convenient utilities
 race, race_,
 concurrently, concurrently_,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.9.0/src/UnliftIO/Internals/Async.hs 
new/unliftio-0.2.10/src/UnliftIO/Internals/Async.hs
--- old/unliftio-0.2.9.0/src/UnliftIO/Internals/Async.hs2018-12-11 
08:12:26.0 +0100
+++ new/unliftio-0.2.10/src/UnliftIO/Internals/Async.hs 2018-12-30 
13:46:30.0 +0100
@@ -1,4 +1,5 @@
 {-# LANGUAGE CPP #-}
+{-# LANGUAGE TupleSections   #-}
 {-# LANGUAGE DeriveDataTypeable  #-}
 {-# LANGUAGE DeriveFunctor   #-}
 {-# LANGUAGE DeriveGeneric   #-}
@@ -10,7 +11,7 @@
 module UnliftIO.Internals.Async where
 
 import   Control.Applicative
-import   Control.Concurrent   (threadDelay)
+import   Control.Concurrent   

commit ghc-unliftio for openSUSE:Factory

2018-12-20 Thread root
Hello community,

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

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


Package is "ghc-unliftio"

Fri Dec 21 08:21:13 2018 rev:5 rq:658077 version:0.2.9.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-unliftio/ghc-unliftio.changes
2018-10-25 08:19:10.887996020 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-unliftio.new.28833/ghc-unliftio.changes 
2018-12-21 08:21:28.761566619 +0100
@@ -1,0 +2,8 @@
+Wed Dec 12 03:02:02 UTC 2018 - psim...@suse.com
+
+- Update unliftio to version 0.2.9.0.
+  ## 0.2.9.0
+
+  * Add the new `Conc` datatype as a more efficient alternative to 
`Concurrently`
+
+---

Old:

  unliftio-0.2.8.1.tar.gz
  unliftio.cabal

New:

  unliftio-0.2.9.0.tar.gz



Other differences:
--
++ ghc-unliftio.spec ++
--- /var/tmp/diff_new_pack.39Pzaw/_old  2018-12-21 08:21:29.769565675 +0100
+++ /var/tmp/diff_new_pack.39Pzaw/_new  2018-12-21 08:21:29.769565675 +0100
@@ -19,14 +19,13 @@
 %global pkg_name unliftio
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.2.8.1
+Version:0.2.9.0
 Release:0
 Summary:The MonadUnliftIO typeclass for unlifting monads to IO 
(batteries included)
 License:MIT
 Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-async-devel
 BuildRequires:  ghc-deepseq-devel
@@ -40,6 +39,7 @@
 BuildRequires:  ghc-unix-devel
 BuildRequires:  ghc-unliftio-core-devel
 %if %{with tests}
+BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-hspec-devel
 %endif
 
@@ -60,7 +60,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ unliftio-0.2.8.1.tar.gz -> unliftio-0.2.9.0.tar.gz ++
 1650 lines of diff (skipped)




commit ghc-unliftio for openSUSE:Factory

2018-10-25 Thread root
Hello community,

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

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


Package is "ghc-unliftio"

Thu Oct 25 08:19:10 2018 rev:4 rq:642901 version:0.2.8.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-unliftio/ghc-unliftio.changes
2018-09-03 10:35:04.384664841 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-unliftio.new/ghc-unliftio.changes   
2018-10-25 08:19:10.887996020 +0200
@@ -1,0 +2,12 @@
+Thu Oct  4 15:40:13 UTC 2018 - psim...@suse.com
+
+- Update unliftio to version 0.2.8.1.
+  ## 0.2.8.1
+
+  * Support for `stm-2.5.0.0`
+
+  ## 0.2.8.0
+
+  * Add 'UnliftIO.Memoize'
+
+---

Old:

  unliftio-0.2.7.1.tar.gz

New:

  unliftio-0.2.8.1.tar.gz
  unliftio.cabal



Other differences:
--
++ ghc-unliftio.spec ++
--- /var/tmp/diff_new_pack.STDbfx/_old  2018-10-25 08:19:11.715995654 +0200
+++ /var/tmp/diff_new_pack.STDbfx/_new  2018-10-25 08:19:11.715995654 +0200
@@ -12,20 +12,21 @@
 # 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 unliftio
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.2.7.1
+Version:0.2.8.1
 Release:0
 Summary:The MonadUnliftIO typeclass for unlifting monads to IO 
(batteries included)
 License:MIT
 Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-async-devel
 BuildRequires:  ghc-deepseq-devel
@@ -59,6 +60,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ unliftio-0.2.7.1.tar.gz -> unliftio-0.2.8.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.7.1/ChangeLog.md 
new/unliftio-0.2.8.1/ChangeLog.md
--- old/unliftio-0.2.7.1/ChangeLog.md   2018-08-28 09:17:05.0 +0200
+++ new/unliftio-0.2.8.1/ChangeLog.md   2018-09-22 20:08:12.0 +0200
@@ -1,5 +1,13 @@
 # Changelog for unliftio
 
+## 0.2.8.1
+
+* Support for `stm-2.5.0.0`
+
+## 0.2.8.0
+
+* Add 'UnliftIO.Memoize'
+
 ## 0.2.7.1
 
 * Minor doc improvements
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.7.1/src/UnliftIO/Memoize.hs 
new/unliftio-0.2.8.1/src/UnliftIO/Memoize.hs
--- old/unliftio-0.2.7.1/src/UnliftIO/Memoize.hs1970-01-01 
01:00:00.0 +0100
+++ new/unliftio-0.2.8.1/src/UnliftIO/Memoize.hs2018-09-04 
11:00:51.0 +0200
@@ -0,0 +1,75 @@
+{-# LANGUAGE GeneralizedNewtypeDeriving #-}
+-- | Memoize the results of actions. In other words: actions
+-- will be run once, on demand, and their results saved.
+--
+-- Exceptions semantics: if a synchronous exception is thrown while performing
+-- the computation, that result will be saved and rethrown each time
+-- 'runMemoized' is called subsequently.'
+--
+-- @since 0.2.8.0
+module UnliftIO.Memoize
+  ( Memoized
+  , runMemoized
+  , memoizeRef
+  , memoizeMVar
+  ) where
+
+import Control.Applicative as A
+import Control.Monad (join)
+import Control.Monad.IO.Unlift
+import UnliftIO.Exception
+import UnliftIO.IORef
+import UnliftIO.MVar
+
+-- | A \"run once\" value, with results saved. Extract the value with
+-- 'runMemoized'. For single-threaded usage, you can use 'memoizeRef' to
+-- create a value. If you need guarantees that only one thread will run the
+-- action at a time, use 'memoizeMVar'.
+--
+-- Note that this type provides a 'Show' instance for convenience, but not
+-- useful information can be provided.
+--
+-- @since 0.2.8.0
+newtype Memoized a = Memoized (IO a)
+  deriving (Functor, A.Applicative, Monad)
+instance Show (Memoized a) where
+  show _ = "<>"
+
+-- | Extract a value from a 'Memoized', running an action if no cached value is
+-- available.
+--
+-- @since 0.2.8.0
+runMemoized :: MonadIO m => Memoized a -> m a
+runMemoized (Memoized m) = liftIO m
+{-# INLINE runMemoized #-}
+
+-- | Create a new 'Memoized' value using an 'IORef' under the surface. Note 
that
+-- the action may be run in multiple threads simultaneously, so this may not 

commit ghc-unliftio for openSUSE:Factory

2018-09-03 Thread root
Hello community,

here is the log from the commit of package ghc-unliftio for openSUSE:Factory 
checked in at 2018-09-03 10:35:02

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


Package is "ghc-unliftio"

Mon Sep  3 10:35:02 2018 rev:3 rq:632491 version:0.2.7.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-unliftio/ghc-unliftio.changes
2018-07-21 10:24:16.966971091 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-unliftio.new/ghc-unliftio.changes   
2018-09-03 10:35:04.384664841 +0200
@@ -1,0 +2,10 @@
+Thu Aug 30 15:29:11 UTC 2018 - psim...@suse.com
+
+- Update unliftio to version 0.2.7.1.
+  # Changelog for unliftio
+
+  ## 0.2.7.1
+
+  * Minor doc improvements
+
+---

Old:

  unliftio-0.2.7.0.tar.gz

New:

  unliftio-0.2.7.1.tar.gz



Other differences:
--
++ ghc-unliftio.spec ++
--- /var/tmp/diff_new_pack.Ds1UkA/_old  2018-09-03 10:35:05.956668897 +0200
+++ /var/tmp/diff_new_pack.Ds1UkA/_new  2018-09-03 10:35:05.960668908 +0200
@@ -19,7 +19,7 @@
 %global pkg_name unliftio
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.2.7.0
+Version:0.2.7.1
 Release:0
 Summary:The MonadUnliftIO typeclass for unlifting monads to IO 
(batteries included)
 License:MIT

++ unliftio-0.2.7.0.tar.gz -> unliftio-0.2.7.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.7.0/ChangeLog.md 
new/unliftio-0.2.7.1/ChangeLog.md
--- old/unliftio-0.2.7.0/ChangeLog.md   2018-04-22 11:33:17.0 +0200
+++ new/unliftio-0.2.7.1/ChangeLog.md   2018-08-28 09:17:05.0 +0200
@@ -1,3 +1,9 @@
+# Changelog for unliftio
+
+## 0.2.7.1
+
+* Minor doc improvements
+
 ## 0.2.7.0
 
 * Re-export `tryPutTMVar` from `UnliftIO.STM`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.7.0/README.md 
new/unliftio-0.2.7.1/README.md
--- old/unliftio-0.2.7.0/README.md  2018-01-02 17:25:04.0 +0100
+++ new/unliftio-0.2.7.1/README.md  2018-08-27 20:11:52.0 +0200
@@ -14,11 +14,13 @@
 the code here is lightly tested, the vast majority of it is simply apply
 `withUnliftIO` to existing functionality. Caveat emptor and all that.
 
+__NOTE__ The `UnliftIO.Exception` module in this library changes the semantics 
of asynchronous exceptions to be in the style of the `safe-exceptions` package, 
which is orthogonal to the "unlifting" concept. While this change is an 
improvment in most cases, it means that `UnliftIO.Exception` is not always a 
drop-in replacement for `Control.Exception` in advanced exception handling 
code. See [Async exception safety](#async-exception-safety) for details.
+
 ## Quickstart
 
 * Replace imports like `Control.Exception` with
   `UnliftIO.Exception`. Yay, your `catch` and `finally` are more
-  powerful and safer!
+  powerful and safer (see [Async exception safety](#async-exception-safety))!
 * Similar with `Control.Concurrent.Async` with `UnliftIO.Async`
 * Or go all in and import `UnliftIO`
 * Naming conflicts: let `unliftio` win
@@ -173,10 +175,10 @@
 timeout :: MonadUnliftIO m => Int -> m a -> m (Maybe a)
 timeout x y = do
   u <- askUnliftIO
-  System.Timeout.timeout x $ unliftIO u y
+  liftIO $ System.Timeout.timeout x $ unliftIO u y
 ```
 
-or more concisely using `withRunIO`:
+or more concisely using `withRunInIO`:
 
 ```haskell
 timeout :: MonadUnliftIO m => Int -> m a -> m (Maybe a)
@@ -185,7 +187,7 @@
 
 This is a common pattern: use `withRunInIO` to capture a run function,
 and then call the original function with the user-supplied arguments,
-applying `run` as necessary. `withRunIO` takes care of invoking
+applying `run` as necessary. `withRunInIO` takes care of invoking
 `unliftIO` for us.
 
 We can also use the run function with different types due to
@@ -357,7 +359,8 @@
 
 ## Async exception safety
 
-The `safe-exceptions` package builds on top of the `exceptions`
+The [`safe-exceptions`](https://hackage.haskell.org/package/safe-exceptions)
+package builds on top of the `exceptions`
 package and provides intelligent behavior for dealing with
 asynchronous exceptions, a common pitfall. This library provides a set
 of exception handling functions with the same async exception behavior
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.7.0/unliftio.cabal 
new/unliftio-0.2.7.1/unliftio.cabal
--- old/unliftio-0.2.7.0/unliftio.cabal 2018-04-22 11:33:36.0 +0200
+++ new/unliftio-0.2.7.1/unliftio.cabal 2018-08-28 09:17:17.0 +0200
@@ -1,11 +1,13 @@
--- This file has 

commit ghc-unliftio for openSUSE:Factory

2018-07-21 Thread root
Hello community,

here is the log from the commit of package ghc-unliftio for openSUSE:Factory 
checked in at 2018-07-21 10:24:15

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


Package is "ghc-unliftio"

Sat Jul 21 10:24:15 2018 rev:2 rq:623886 version:0.2.7.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-unliftio/ghc-unliftio.changes
2018-05-30 13:10:35.373835961 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-unliftio.new/ghc-unliftio.changes   
2018-07-21 10:24:16.966971091 +0200
@@ -4 +4 @@
-- Adding initial version version 0.2.7.0.
+- Add unliftio at version 0.2.7.0.



Other differences:
--