Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
0b2457f42f | |||
29973a8d37 |
@@ -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>
|
||||
|
||||
|
@@ -20,13 +20,13 @@
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.4.2
|
||||
Version: 0.5
|
||||
Release: 0
|
||||
Summary: Filterable traversable
|
||||
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/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-base-devel
|
||||
BuildRequires: ghc-base-orphans-devel
|
||||
|
@@ -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
3
witherable-0.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:48434cc1e465b13cbc0133a90c3ec0d827c93b77ce95807fe0a38b65f4918cd1
|
||||
size 10819
|
112
witherable.cabal
112
witherable.cabal
@@ -1,56 +1,56 @@
|
||||
cabal-version: 2.4
|
||||
name: witherable
|
||||
version: 0.4.2
|
||||
x-revision: 5
|
||||
synopsis: filterable traversable
|
||||
description: A stronger variant of `traverse` which can remove elements and generalised mapMaybe, catMaybes, filter
|
||||
homepage: https://github.com/fumieval/witherable
|
||||
license: BSD-3-Clause
|
||||
license-file: LICENSE
|
||||
author: Fumiaki Kinoshita
|
||||
maintainer: Fumiaki Kinoshita <fumiexcel@gmail.com>
|
||||
copyright: Copyright (c) 2014 Fumiaki Kinoshita
|
||||
category: Data
|
||||
build-type: Simple
|
||||
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
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/fumieval/witherable.git
|
||||
subdir: witherable
|
||||
|
||||
library
|
||||
exposed-modules:
|
||||
Witherable
|
||||
Data.Witherable
|
||||
build-depends: base >=4.9 && <5,
|
||||
base-orphans >=0.8.4 && <0.10,
|
||||
containers >=0.5.7.1 && <0.8,
|
||||
hashable >=1.2.7.0 && <1.5,
|
||||
transformers >=0.5.2.0 && <0.7,
|
||||
unordered-containers >=0.2.12.0 && <0.3,
|
||||
vector >=0.12.2.0 && <0.14,
|
||||
indexed-traversable >=0.1.1 && <0.2,
|
||||
indexed-traversable-instances >=0.1 && <0.2
|
||||
hs-source-dirs: src
|
||||
ghc-options: -Wall -Wcompat
|
||||
default-language: Haskell2010
|
||||
|
||||
test-suite witherable-tests
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: tests.hs
|
||||
hs-source-dirs: tests
|
||||
ghc-options: -Wall -Wcompat
|
||||
default-language: Haskell2010
|
||||
build-depends: base,
|
||||
witherable,
|
||||
containers,
|
||||
hashable,
|
||||
QuickCheck >=2.14.2,
|
||||
quickcheck-instances,
|
||||
tasty,
|
||||
tasty-quickcheck,
|
||||
transformers,
|
||||
unordered-containers,
|
||||
vector
|
||||
cabal-version: 2.4
|
||||
name: witherable
|
||||
version: 0.5
|
||||
x-revision: 1
|
||||
synopsis: filterable traversable
|
||||
description: A stronger variant of `traverse` which can remove elements and generalised mapMaybe, catMaybes, filter
|
||||
homepage: https://github.com/fumieval/witherable
|
||||
license: BSD-3-Clause
|
||||
license-file: LICENSE
|
||||
author: Fumiaki Kinoshita
|
||||
maintainer: Fumiaki Kinoshita <fumiexcel@gmail.com>
|
||||
copyright: Copyright (c) 2014 Fumiaki Kinoshita
|
||||
category: Data
|
||||
build-type: Simple
|
||||
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.8 || ==9.4.8 || ==9.6.5 || ==9.8.2 || ==9.10.1
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/fumieval/witherable.git
|
||||
subdir: witherable
|
||||
|
||||
library
|
||||
exposed-modules:
|
||||
Witherable
|
||||
build-depends: base >=4.9 && <5,
|
||||
base-orphans >=0.8.4 && <0.10,
|
||||
containers >=0.5.7.1 && <0.8,
|
||||
hashable >=1.2.7.0 && <1.6,
|
||||
transformers >=0.5.2.0 && <0.7,
|
||||
unordered-containers >=0.2.12.0 && <0.3,
|
||||
vector >=0.12.2.0 && <0.14,
|
||||
indexed-traversable >=0.1.1 && <0.2,
|
||||
indexed-traversable-instances >=0.1 && <0.2
|
||||
hs-source-dirs: src
|
||||
ghc-options: -Wall -Wcompat
|
||||
default-language: Haskell2010
|
||||
|
||||
test-suite witherable-tests
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: tests.hs
|
||||
hs-source-dirs: tests
|
||||
ghc-options: -Wall -Wcompat
|
||||
default-language: Haskell2010
|
||||
build-depends: base,
|
||||
witherable,
|
||||
containers,
|
||||
hashable,
|
||||
QuickCheck >=2.14.2,
|
||||
quickcheck-instances,
|
||||
tasty,
|
||||
tasty-quickcheck,
|
||||
transformers,
|
||||
unordered-containers,
|
||||
vector
|
||||
|
Reference in New Issue
Block a user