SHA256
1
0
forked from pool/ghc-mmorph

5 Commits

5 changed files with 13 additions and 40 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sun Jun 8 03:52:03 UTC 2025 - Peter Simons <psimons@suse.com>
- Update mmorph to version 1.2.1.
1.2.1
- `MFunctor` and `MMonad` instances for `AccumT`
-------------------------------------------------------------------
Thu Mar 30 17:07:35 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package ghc-mmorph
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,12 @@
%global pkg_name mmorph
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
Version: 1.2.0
Version: 1.2.1
Release: 0
Summary: Monad morphisms
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
@@ -70,7 +69,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build

View File

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

3
mmorph-1.2.1.tar.gz Normal file
View File

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

View File

@@ -1,33 +0,0 @@
Name: mmorph
Version: 1.2.0
x-revision: 3
Cabal-Version: >= 1.10
Build-Type: Simple
License: BSD3
License-File: LICENSE
Copyright: 2013 Gabriella Gonzalez
Author: Gabriella Gonzalez
Maintainer: GenuineGabriella@gmail.com
Bug-Reports: https://github.com/Gabriella439/Haskell-MMorph-Library/issues
Synopsis: Monad morphisms
Description: This library provides monad morphism utilities, most commonly used
for manipulating monad transformer stacks.
Category: Control
Extra-Source-Files: CHANGELOG.md
Source-Repository head
Type: git
Location: https://github.com/Gabriella439/Haskell-MMorph-Library
Library
Hs-Source-Dirs: src
Build-Depends:
base >= 4.5 && < 5 ,
mtl >= 2.1 && < 2.4,
transformers >= 0.2.0.0 && < 0.7,
transformers-compat >= 0.3 && < 0.8
if impl(ghc < 8.0)
Build-Depends:
fail == 4.9.*
Exposed-Modules: Control.Monad.Morph, Control.Monad.Trans.Compose
GHC-Options: -O2
Default-Language: Haskell2010