Hello community,

here is the log from the commit of package ghc-rio for openSUSE:Factory checked 
in at 2020-05-11 13:36:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-rio (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-rio.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-rio"

Mon May 11 13:36:07 2020 rev:14 rq:801049 version:0.1.14.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-rio/ghc-rio.changes  2020-03-09 
14:16:55.530646680 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-rio.new.2738/ghc-rio.changes        
2020-05-11 13:36:23.268492983 +0200
@@ -1,0 +2,8 @@
+Tue Mar 24 08:07:09 UTC 2020 - [email protected]
+
+- Update rio to version 0.1.14.1.
+  ## 0.1.14.1
+
+  * Support `unliftio-core` 0.2
+
+-------------------------------------------------------------------

Old:
----
  rio-0.1.14.0.tar.gz

New:
----
  rio-0.1.14.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-rio.spec ++++++
--- /var/tmp/diff_new_pack.30kaKz/_old  2020-05-11 13:36:24.216494970 +0200
+++ /var/tmp/diff_new_pack.30kaKz/_new  2020-05-11 13:36:24.216494970 +0200
@@ -19,7 +19,7 @@
 %global pkg_name rio
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.1.14.0
+Version:        0.1.14.1
 Release:        0
 Summary:        A standard library for Haskell
 License:        MIT
@@ -66,8 +66,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-echo > Setup.hs 'import Distribution.Simple'
-echo >>Setup.hs 'main = defaultMain'
 
 %build
 %ghc_lib_build

++++++ rio-0.1.14.0.tar.gz -> rio-0.1.14.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rio-0.1.14.0/ChangeLog.md 
new/rio-0.1.14.1/ChangeLog.md
--- old/rio-0.1.14.0/ChangeLog.md       2020-02-11 07:25:50.000000000 +0100
+++ new/rio-0.1.14.1/ChangeLog.md       2020-03-01 10:03:13.000000000 +0100
@@ -1,5 +1,9 @@
 # Changelog for rio
 
+## 0.1.14.1
+
+* Support `unliftio-core` 0.2
+
 ## 0.1.14.0
 
 * Addition of `mkSimpleApp`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rio-0.1.14.0/rio.cabal new/rio-0.1.14.1/rio.cabal
--- old/rio-0.1.14.0/rio.cabal  2020-02-11 07:47:23.000000000 +0100
+++ new/rio-0.1.14.1/rio.cabal  2020-03-01 10:03:36.000000000 +0100
@@ -1,13 +1,13 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.32.0.
+-- This file has been generated from package.yaml by hpack version 0.33.0.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 3304dcc13a958b77f994720f0df6f7b7714d1ed441b38b6ab56b91b30164bcd2
+-- hash: 6b5196ca703656226be396b57dc1cad657e697252fabe2a5da4c27bb45262263
 
 name:           rio
-version:        0.1.14.0
+version:        0.1.14.1
 synopsis:       A standard library for Haskell
 description:    See README and Haddocks at 
<https://www.stackage.org/package/rio>
 category:       Control
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rio-0.1.14.0/src/RIO/Prelude/RIO.hs 
new/rio-0.1.14.1/src/RIO/Prelude/RIO.hs
--- old/rio-0.1.14.0/src/RIO/Prelude/RIO.hs     2020-02-11 07:25:50.000000000 
+0100
+++ new/rio-0.1.14.1/src/RIO/Prelude/RIO.hs     2020-03-01 09:30:05.000000000 
+0100
@@ -68,9 +68,8 @@
   runRIO (f outer) m
 
 instance MonadUnliftIO (RIO env) where
-    askUnliftIO = RIO $ ReaderT $ \r ->
-                  withUnliftIO $ \u ->
-                  return (UnliftIO (unliftIO u . flip runReaderT r . unRIO))
+  withRunInIO inner = RIO $ withRunInIO $ \run -> inner (run . unRIO)
+  {-# INLINE withRunInIO #-}
 
 instance PrimMonad (RIO env) where
     type PrimState (RIO env) = PrimState IO


Reply via email to