Hello community, here is the log from the commit of package ghc-ChannelT for openSUSE:Factory checked in at 2017-06-22 10:36:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-ChannelT (Old) and /work/SRC/openSUSE:Factory/.ghc-ChannelT.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-ChannelT" Thu Jun 22 10:36:20 2017 rev:2 rq:504051 version:0.0.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-ChannelT/ghc-ChannelT.changes 2017-02-19 01:00:04.667623693 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-ChannelT.new/ghc-ChannelT.changes 2017-06-22 10:36:25.811143430 +0200 @@ -1,0 +2,5 @@ +Wed May 31 14:01:05 UTC 2017 - psim...@suse.com + +- Update to version 0.0.0.4. + +------------------------------------------------------------------- Old: ---- ChannelT-0.0.0.2.tar.gz New: ---- ChannelT-0.0.0.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-ChannelT.spec ++++++ --- /var/tmp/diff_new_pack.LhruFi/_old 2017-06-22 10:36:26.507045329 +0200 +++ /var/tmp/diff_new_pack.LhruFi/_new 2017-06-22 10:36:26.507045329 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-ChannelT # -# 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 ChannelT Name: ghc-%{pkg_name} -Version: 0.0.0.2 +Version: 0.0.0.4 Release: 0 Summary: Generalized stream processors 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-free-devel BuildRequires: ghc-mmorph-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-transformers-base-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build -# End cabal-rpm deps %description A mutual generalization of <https://hackage.haskell.org/package/pipes pipes> @@ -55,15 +53,12 @@ %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install - %post devel %ghc_pkg_recache ++++++ ChannelT-0.0.0.2.tar.gz -> ChannelT-0.0.0.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ChannelT-0.0.0.2/ChannelT.cabal new/ChannelT-0.0.0.4/ChannelT.cabal --- old/ChannelT-0.0.0.2/ChannelT.cabal 2016-01-27 06:53:20.000000000 +0100 +++ new/ChannelT-0.0.0.4/ChannelT.cabal 2017-05-22 05:25:30.000000000 +0200 @@ -1,5 +1,5 @@ name: ChannelT -version: 0.0.0.2 +version: 0.0.0.4 synopsis: Generalized stream processors description: A mutual generalization of <https://hackage.haskell.org/package/pipes pipes> and <https://hackage.haskell.org/package/machines machines>; a library for exploring a particular corner of the design space of streaming IO (and other related tasks) in Haskell. license: BSD3 @@ -7,19 +7,23 @@ author: Alexander Altman maintainer: alexanderalt...@me.com homepage: https://github.com/pthariensflame/ChannelT -copyright: Copyright (c) 2015-2016, Alexander Altman +copyright: Copyright (c) 2015-2017, Alexander Altman category: Control, Enumerator, Iteratee, Pipes, Proxies build-type: Simple -cabal-version: >= 1.22 +cabal-version: >= 1.24 + +source-repository head + type: git + location: https://github.com/pthariensflame/ChannelT library default-language: Haskell2010 hs-source-dirs: src exposed-modules: Control.Monad.Channel.Internal , Control.Monad.Channel - -- other-modules: + -- other-modules: build-depends: base >= 4.8.2.0 && < 5 , mtl >= 2.2.1 && < 2.3 , free >= 4.12.4 && < 4.13 , transformers-base >= 0.4.4 && < 0.5 - , mmorph >= 1.0.5 && < 1.1 + , mmorph >= 1.0.5 && < 1.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ChannelT-0.0.0.2/src/Control/Monad/Channel/Internal.hs new/ChannelT-0.0.0.4/src/Control/Monad/Channel/Internal.hs --- old/ChannelT-0.0.0.2/src/Control/Monad/Channel/Internal.hs 2016-01-27 06:54:48.000000000 +0100 +++ new/ChannelT-0.0.0.4/src/Control/Monad/Channel/Internal.hs 2017-05-22 05:25:19.000000000 +0200 @@ -17,7 +17,7 @@ deriving instance Generic (FreeT f m a) newtype ChannelT sel m a = ChannelT { unChannelT :: FreeT (ChannelF sel) m a } - deriving (Functor, Applicative, Monad, MFunctor, MonadTrans, MonadFree (ChannelF sel), Generic1, Generic) + deriving (Functor, Applicative, Monad, MonadTrans, MonadFree (ChannelF sel), Generic1, Generic) deriving instance MonadBase b m => MonadBase b (ChannelT sel m) data ChannelF (sel :: * -> * -> *) (x :: *) = @@ -34,4 +34,9 @@ instance Monad m => MonadChannel sel (ChannelT sel m) where syncOn s o = ChannelT . FreeT . return . Free . SyncChannel s o $ FreeT . return . Pure +-- NB: Don't use GeneralizedNewtypeDeriving to create this instance, as it will +-- trigger GHC Trac #11837 on GHC 8.0.1 and older. +instance MFunctor (ChannelT sel) where + hoist f = ChannelT . hoist f . unChannelT + type Channel sel = ChannelT sel Identity