1
0

Accepting request 304897 from devel:languages:haskell:lts

- 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

OBS-URL: https://build.opensuse.org/request/show/304897
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-monad-control?expand=0&rev=4
This commit is contained in:
Peter Trommler 2015-05-04 18:56:53 +00:00 committed by Git OBS Bridge
parent 963b179eaf
commit bf6acba4d2
4 changed files with 32 additions and 16 deletions

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Tue Apr 21 19:32:20 UTC 2015 - mimi.vx@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 - sbahling@suse.com Sun Oct 6 21:43:23 UTC 2013 - sbahling@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghc-monad-control # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,22 +18,23 @@
%global pkg_name monad-control %global pkg_name monad-control
Name: ghc-monad-control Name: ghc-%{pkg_name}
Version: 0.3.2.1 Version: 1.0.0.4
Release: 0 Release: 0
Summary: Lift control operations, like exception catching, through monad transformers Summary: Lift control operations, like exception catching, through monad transformers
License: BSD-3-Clause License: BSD-3-Clause
Group: System/Libraries Group: System/Libraries
Url: http://hackage.haskell.org/package/%{pkg_name} Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps: # Begin cabal-rpm deps:
BuildRequires: ghc-base-unicode-symbols-devel BuildRequires: ghc-stm-devel
BuildRequires: ghc-transformers-base-devel BuildRequires: ghc-transformers-base-devel
BuildRequires: ghc-transformers-compat-devel
BuildRequires: ghc-transformers-devel BuildRequires: ghc-transformers-devel
# End cabal-rpm deps # End cabal-rpm deps
@ -53,18 +54,14 @@ The main difference is that this package provides CPS style operators and
exploits the 'RankNTypes' and 'TypeFamilies' language extensions to simplify exploits the 'RankNTypes' and 'TypeFamilies' language extensions to simplify
and speedup most definitions. 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 %package devel
Summary: Haskell %{pkg_name} library development files Summary: Haskell %{pkg_name} library development files
Group: Development/Libraries/Other Group: Development/Libraries/Other
Provides: %{name}-static = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version} Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name} = %{version}-%{release}
%description devel %description devel
This package provides the Haskell %{pkg_name} library development files. This package provides the Haskell %{pkg_name} library development files.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4395df5ea2b9278a96d7c8e93c81202b9441ba5fcfbd03b90c7d4ea1c66b8e9f
size 10685

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e984b7346af6d31b7ce918e1a0263075af8cbcf5440bc3df698d0354c90df61e
size 10709