4
0

2 Commits

5 changed files with 73 additions and 61 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Aug 2 08:05:58 UTC 2024 - Peter Simons <psimons@suse.com>
- Update witherable to version 0.5 revision 1.
0.5
---
* `FilterableWithIndex` is a superclass of `WitherableWithIndex`.
* Remove deprecated `Data.Witherable` module. Use `Witherable` module.
* Relax `FilterableWithIndex` composition law so list-like instances are lawful.
* Add `drain :: f a -> f b` method (with default implementation `drain = mapMaybe (Const Nothing)`) to the `Filterable`.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 16 22:45:35 UTC 2024 - Peter Simons <psimons@suse.com> Thu May 16 22:45:35 UTC 2024 - Peter Simons <psimons@suse.com>

View File

@@ -20,13 +20,13 @@
%global pkgver %{pkg_name}-%{version} %global pkgver %{pkg_name}-%{version}
%bcond_with tests %bcond_with tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.4.2 Version: 0.5
Release: 0 Release: 0
Summary: Filterable traversable Summary: Filterable traversable
License: BSD-3-Clause License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name} URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/5.cabal#/%{pkg_name}.cabal Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-devel BuildRequires: ghc-base-devel
BuildRequires: ghc-base-orphans-devel BuildRequires: ghc-base-orphans-devel

View File

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

3
witherable-0.5.tar.gz Normal file
View File

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

View File

@@ -1,7 +1,7 @@
cabal-version: 2.4 cabal-version: 2.4
name: witherable name: witherable
version: 0.4.2 version: 0.5
x-revision: 5 x-revision: 1
synopsis: filterable traversable synopsis: filterable traversable
description: A stronger variant of `traverse` which can remove elements and generalised mapMaybe, catMaybes, filter description: A stronger variant of `traverse` which can remove elements and generalised mapMaybe, catMaybes, filter
homepage: https://github.com/fumieval/witherable homepage: https://github.com/fumieval/witherable
@@ -13,7 +13,8 @@ copyright: Copyright (c) 2014 Fumiaki Kinoshita
category: Data category: Data
build-type: Simple build-type: Simple
extra-source-files: CHANGELOG.md extra-source-files: CHANGELOG.md
tested-with: GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.1 || ==9.2.1 tested-with: GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 ||
==9.0.1 || ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.2 || ==9.10.1
source-repository head source-repository head
type: git type: git
@@ -23,11 +24,10 @@ source-repository head
library library
exposed-modules: exposed-modules:
Witherable Witherable
Data.Witherable
build-depends: base >=4.9 && <5, build-depends: base >=4.9 && <5,
base-orphans >=0.8.4 && <0.10, base-orphans >=0.8.4 && <0.10,
containers >=0.5.7.1 && <0.8, containers >=0.5.7.1 && <0.8,
hashable >=1.2.7.0 && <1.5, hashable >=1.2.7.0 && <1.6,
transformers >=0.5.2.0 && <0.7, transformers >=0.5.2.0 && <0.7,
unordered-containers >=0.2.12.0 && <0.3, unordered-containers >=0.2.12.0 && <0.3,
vector >=0.12.2.0 && <0.14, vector >=0.12.2.0 && <0.14,