|
|
|
@ -6,9 +6,8 @@
|
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
# part of haskell-platform-2012.4+
|
|
|
|
|
Version: 0.2.2
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Version: 0.2.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Combinator library for splitting lists
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
@ -24,26 +23,19 @@ BuildRequires: ghc-QuickCheck-devel
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
A collection of various methods for splitting
|
|
|
|
|
lists into parts, akin to the \"split\" function
|
|
|
|
|
found in several mainstream languages. Here is
|
|
|
|
|
its tale:
|
|
|
|
|
|
|
|
|
|
Once upon a time the standard "Data.List" module
|
|
|
|
|
held no function for splitting a list into parts
|
|
|
|
|
according to a delimiter. Many a brave
|
|
|
|
|
lambda-knight strove to add such a function, but
|
|
|
|
|
their striving was in vain, for Lo, the Supreme
|
|
|
|
|
Council fell to bickering amongst themselves what
|
|
|
|
|
was to be the essential nature of the One True
|
|
|
|
|
Function which could cleave a list in twain (or
|
|
|
|
|
thrain, or any required number of parts).
|
|
|
|
|
|
|
|
|
|
And thus came to pass the split package,
|
|
|
|
|
comprising divers functions for splitting a list
|
|
|
|
|
asunder, each according to its nature. And the
|
|
|
|
|
Supreme Council had no longer any grounds for
|
|
|
|
|
argument, for the favored method of each was
|
|
|
|
|
A collection of various methods for splitting lists into parts, akin to the
|
|
|
|
|
"split" function found in several mainstream languages. Here is its tale:
|
|
|
|
|
|
|
|
|
|
Once upon a time the standard "Data.List" module held no function for splitting
|
|
|
|
|
a list into parts according to a delimiter. Many a brave lambda-knight strove
|
|
|
|
|
to add such a function, but their striving was in vain, for Lo, the Supreme
|
|
|
|
|
Council fell to bickering amongst themselves what was to be the essential
|
|
|
|
|
nature of the One True Function which could cleave a list in twain (or thrain,
|
|
|
|
|
or any required number of parts).
|
|
|
|
|
|
|
|
|
|
And thus came to pass the split package, comprising divers functions for
|
|
|
|
|
splitting a list asunder, each according to its nature. And the Supreme Council
|
|
|
|
|
had no longer any grounds for argument, for the favored method of each was
|
|
|
|
|
contained therein.
|
|
|
|
|
|
|
|
|
|
To get started, see the "Data.List.Split" module.
|
|
|
|
@ -63,7 +55,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
cabal-tweak-dep-ver base '<4.8' '<4.9'
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%ghc_lib_build
|
|
|
|
@ -94,10 +85,13 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel -f %{name}-devel.files
|
|
|
|
|
%doc CHANGES README
|
|
|
|
|
%doc README
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Apr 23 2016 Ben Boeckel <mathstuf@gmail.com> - 0.2.3-1
|
|
|
|
|
- update to 0.2.3
|
|
|
|
|
|
|
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|