Compare commits
30 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
93447ff255 | ||
|
9da0279ec5 | ||
|
802a0698b8 | ||
|
b0c07edb94 | ||
|
617b3dab55 | ||
|
38ee5f5efa | ||
|
f973bf7c29 | ||
|
83993bb7fa | ||
|
6e86108d47 | ||
|
eb000d387f | ||
|
0eeb59248f | ||
|
31fd808a58 | ||
|
4bc8b8c33c | ||
|
756715bbe4 | ||
|
73b1fd4a2c | ||
|
03a0524e3b | ||
|
d29b66052d | ||
|
0b1e101321 | ||
|
00a52f1fb8 | ||
|
a725171bff | ||
|
c39254a396 | ||
|
01fdc1886b | ||
|
fd10635469 | ||
|
8ec15269fc | ||
|
3e2c0a62ca | ||
|
cde99bbad1 | ||
|
ac1d6282b6 | ||
|
db4e91a909 | ||
|
f40de47652 | ||
|
88fdf2b03b |
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,6 @@
|
||||
/STMonadTrans-0.3.2.tar.gz
|
||||
/STMonadTrans-0.3.3.tar.gz
|
||||
/STMonadTrans-0.4.3.tar.gz
|
||||
/STMonadTrans-0.4.4.tar.gz
|
||||
/STMonadTrans-0.4.5.tar.gz
|
||||
/STMonadTrans-0.4.6.tar.gz
|
||||
|
87
STMonadTrans-0.4.6.cabal
Normal file
87
STMonadTrans-0.4.6.cabal
Normal 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
|
81
changelog
Normal file
81
changelog
Normal file
@ -0,0 +1,81 @@
|
||||
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.4.6-3
|
||||
- refresh to cabal-rpm-2.1.0 with SPDX migration
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* 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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 0.4.5-1
|
||||
- update to 0.4.5
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 0.4.4-4
|
||||
- refresh to cabal-rpm-2.0.6
|
||||
|
||||
* Thu Feb 20 2020 Jens Petersen <petersen@redhat.com> - 0.4.4-3
|
||||
- enable tests
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Jens Petersen <petersen@redhat.com> - 0.4.4-1
|
||||
- update to 0.4.4
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.4.3-9
|
||||
- refresh to cabal-rpm-0.13
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 0.4.3-7
|
||||
- revise .cabal
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.4.3-4
|
||||
- rebuild
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Thu Feb 23 2017 Jens Petersen <petersen@redhat.com> - 0.4.3-1
|
||||
- update to 0.4.3
|
||||
- disable tests ("Prelude.read: no parse")
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Sun Jun 26 2016 Jens Petersen <petersen@redhat.com> - 0.3.3-1
|
||||
- update to 0.3.3
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon Feb 9 2015 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.3.2-1
|
||||
- spec file generated by cabal-rpm-0.9.3
|
@ -1,25 +1,41 @@
|
||||
# generated by cabal-rpm-0.11.1
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
# generated by cabal-rpm-2.1.0
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||
|
||||
%global pkg_name STMonadTrans
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
|
||||
%bcond_with tests
|
||||
%bcond_without tests
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.4.3
|
||||
Release: 1%{?dist}
|
||||
Version: 0.4.6
|
||||
Release: %autorelease
|
||||
Summary: A monad transformer version of the ST monad
|
||||
|
||||
License: BSD
|
||||
License: BSD-3-Clause
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
# Begin cabal-rpm sources:
|
||||
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
|
||||
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-array-devel
|
||||
BuildRequires: ghc-base-devel
|
||||
BuildRequires: ghc-mtl-devel
|
||||
%if %{with ghc_prof}
|
||||
BuildRequires: ghc-array-prof
|
||||
BuildRequires: ghc-base-prof
|
||||
BuildRequires: ghc-mtl-prof
|
||||
%endif
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-tasty-devel
|
||||
BuildRequires: ghc-tasty-hunit-devel
|
||||
BuildRequires: ghc-tasty-quickcheck-devel
|
||||
BuildRequires: ghc-transformers-devel
|
||||
%endif
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
@ -34,63 +50,83 @@ Writer, Maybe and combinations of their corresponding monad transformers.
|
||||
%package devel
|
||||
Summary: Haskell %{pkg_name} library development files
|
||||
Provides: %{name}-static = %{version}-%{release}
|
||||
Provides: %{name}-static%{?_isa} = %{version}-%{release}
|
||||
%if %{defined ghc_version}
|
||||
Requires: ghc-compiler = %{ghc_version}
|
||||
Requires(post): ghc-compiler = %{ghc_version}
|
||||
Requires(postun): ghc-compiler = %{ghc_version}
|
||||
%endif
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
|
||||
%if %{with haddock}
|
||||
%package doc
|
||||
Summary: Haskell %{pkg_name} library documentation
|
||||
BuildArch: noarch
|
||||
Requires: ghc-filesystem
|
||||
|
||||
%description doc
|
||||
This package provides the Haskell %{pkg_name} library documentation.
|
||||
%endif
|
||||
|
||||
|
||||
%if %{with ghc_prof}
|
||||
%package prof
|
||||
Summary: Haskell %{pkg_name} profiling library
|
||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||
Supplements: (%{name}-devel and ghc-prof)
|
||||
|
||||
%description prof
|
||||
This package provides the Haskell %{pkg_name} profiling library.
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%setup -q -n %{pkgver}
|
||||
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
|
||||
# End cabal-rpm setup
|
||||
|
||||
|
||||
%build
|
||||
# Begin cabal-rpm build:
|
||||
%ghc_lib_build
|
||||
# End cabal-rpm build
|
||||
|
||||
|
||||
%install
|
||||
# Begin cabal-rpm install
|
||||
%ghc_lib_install
|
||||
# End cabal-rpm install
|
||||
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
%cabal_test
|
||||
|
||||
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
|
||||
%postun devel
|
||||
%ghc_pkg_recache
|
||||
%endif
|
||||
|
||||
|
||||
%files -f %{name}.files
|
||||
# Begin cabal-rpm files:
|
||||
%license LICENSE
|
||||
# End cabal-rpm files
|
||||
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%doc changelog.md
|
||||
%doc README.md changelog.md
|
||||
|
||||
|
||||
%if %{with haddock}
|
||||
%files doc -f %{name}-doc.files
|
||||
%license LICENSE
|
||||
%endif
|
||||
|
||||
|
||||
%if %{with ghc_prof}
|
||||
%files prof -f %{name}-prof.files
|
||||
%endif
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 23 2017 Jens Petersen <petersen@redhat.com> - 0.4.3-1
|
||||
- update to 0.4.3
|
||||
- disable tests ("Prelude.read: no parse")
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Sun Jun 26 2016 Jens Petersen <petersen@redhat.com> - 0.3.3-1
|
||||
- update to 0.3.3
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon Feb 9 2015 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.3.2-1
|
||||
- spec file generated by cabal-rpm-0.9.3
|
||||
%autochangelog
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (STMonadTrans-0.4.3.tar.gz) = c14d629bde9541677b107cf4d78feb7af355c8ac93728ad85d0887cb1200d8234d956d9e23aa4927c410ab2c6d24ec94a4ade37951bc51ff3bde877a4e4f1382
|
||||
SHA512 (STMonadTrans-0.4.6.tar.gz) = 51271beb580b44029fad41bb03ed3585acf803af6c60dd410a00196505f872cc38974dbc078a0a1f8077dbd69354906ce46f43cab9e82f6610fb668e15019080
|
||||
|
Loading…
Reference in New Issue
Block a user