update to 0.4.6

This commit is contained in:
Jens Petersen 2022-06-07 10:17:25 +08:00
parent 617b3dab55
commit b0c07edb94
4 changed files with 98 additions and 4 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/STMonadTrans-0.4.3.tar.gz /STMonadTrans-0.4.3.tar.gz
/STMonadTrans-0.4.4.tar.gz /STMonadTrans-0.4.4.tar.gz
/STMonadTrans-0.4.5.tar.gz /STMonadTrans-0.4.5.tar.gz
/STMonadTrans-0.4.6.tar.gz

87
STMonadTrans-0.4.6.cabal Normal file
View File

@ -0,0 +1,87 @@
name: STMonadTrans
version: 0.4.6
x-revision: 1
cabal-version: >= 1.10
license: BSD3
license-file: LICENSE
author: Josef Svenningsson
maintainer: josef.svenningsson@gmail.com, Andreas Abel
homepage: https://github.com/josefs/STMonadTrans
bug-reports: https://github.com/josefs/STMonadTrans/issues
category: Monads
build-type: Simple
synopsis: A monad transformer version of the ST monad
description:
A monad transformer version of the ST monad.
.
Warning! This monad transformer should not be used with monads that
can contain multiple answers, like the list monad. The reason is that
the state token will be duplicated across the different answers and
this causes Bad Things to happen (such as loss of referential
transparency). Safe monads include the monads State, Reader, Writer,
Maybe and combinations of their corresponding monad transformers.
Tested-With: GHC == 7.6.3
, GHC == 7.8.4
, GHC == 7.10.3
, GHC == 8.0.2
, GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.4
, GHC == 8.10.7
, GHC == 9.0.1
, GHC == 9.2.1
extra-source-files:
README.md
changelog.md
source-repository head
type: git
location: https://github.com/josefs/STMonadTrans
library
default-language: Haskell2010
build-depends: base >= 4.6 && < 5
, mtl >= 1.1
, array
-- MonadFail for GHC <= 7
if impl(ghc < 8.0)
build-depends: fail
exposed-modules:
Control.Monad.ST.Trans
Control.Monad.ST.Trans.Internal
default-extensions:
CPP
BangPatterns
MagicHash
UnboxedTuples
Rank2Types
FlexibleInstances
MultiParamTypeClasses
UndecidableInstances
ghc-options:
-Wall
-fwarn-tabs
if impl(ghc >= 8.0)
ghc-options:
-Wcompat
test-suite test
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends: base >= 4 && < 5
, tasty >= 0.11.0.4 && < 1.5
, tasty-quickcheck >= 0.8.4 && < 0.11
, tasty-hunit >= 0.9.2 && < 0.11
, transformers >= 0.2 && < 0.7
, STMonadTrans
, array

View File

@ -7,17 +7,19 @@
%bcond_without tests %bcond_without tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.4.5 Version: 0.4.6
Release: 2%{?dist} Release: 1%{?dist}
Summary: A monad transformer version of the ST monad Summary: A monad transformer version of the ST monad
License: BSD License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name} Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources: # Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
# End cabal-rpm sources # End cabal-rpm sources
# Begin cabal-rpm deps: # Begin cabal-rpm deps:
BuildRequires: dos2unix
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
BuildRequires: ghc-array-prof BuildRequires: ghc-array-prof
@ -78,6 +80,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep %prep
# Begin cabal-rpm setup: # Begin cabal-rpm setup:
%setup -q -n %{pkgver} %setup -q -n %{pkgver}
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup # End cabal-rpm setup
@ -106,7 +109,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
%doc changelog.md %doc README.md changelog.md
%if %{with haddock} %if %{with haddock}
@ -121,6 +124,9 @@ This package provides the Haskell %{pkg_name} profiling library.
%changelog %changelog
* Tue Jun 07 2022 Jens Petersen <petersen@redhat.com> - 0.4.6-1
- https://hackage.haskell.org/package/STMonadTrans-0.4.6/changelog
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.5-2 * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (STMonadTrans-0.4.5.tar.gz) = 003d94d581d109c9a173acb7925f69d717086576aaafa18253709d041639d1d50db8bf2f9565a671388712dcbc82aedbedc7715d507931acc523fd13b8af46ee SHA512 (STMonadTrans-0.4.6.tar.gz) = 51271beb580b44029fad41bb03ed3585acf803af6c60dd410a00196505f872cc38974dbc078a0a1f8077dbd69354906ce46f43cab9e82f6610fb668e15019080