commit ghc-sorted-list for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-sorted-list for openSUSE:Factory checked in at 2016-11-10 13:26:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-sorted-list (Old) and /work/SRC/openSUSE:Factory/.ghc-sorted-list.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-sorted-list" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-sorted-list/ghc-sorted-list.changes 2016-11-02 12:38:28.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-sorted-list.new/ghc-sorted-list.changes 2016-11-10 13:26:07.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Sep 15 07:04:47 UTC 2016 - psimons@suse.com + +- Update to version 0.2.0.0 revision 0 with cabal2obs. + +------------------------------------------------------------------- Old: ---- sorted-list-0.1.6.1.tar.gz New: ---- sorted-list-0.2.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-sorted-list.spec ++++++ --- /var/tmp/diff_new_pack.L0pLsy/_old 2016-11-10 13:26:08.000000000 +0100 +++ /var/tmp/diff_new_pack.L0pLsy/_new 2016-11-10 13:26:08.000000000 +0100 @@ -18,19 +18,17 @@ %global pkg_name sorted-list Name: ghc-%{pkg_name} -Version: 0.1.6.1 +Version: 0.2.0.0 Release: 0 Summary: Type-enforced sorted lists and related functions License: BSD-3-Clause -Group: System/Libraries +Group: Development/Languages/Other Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel -# Begin cabal-rpm deps: BuildRequires: ghc-deepseq-devel BuildRequires: ghc-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build -# End cabal-rpm deps %description Type-enforced sorted lists and related functions. @@ -71,15 +69,12 @@ %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install - %post devel %ghc_pkg_recache ++++++ sorted-list-0.1.6.1.tar.gz -> sorted-list-0.2.0.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sorted-list-0.1.6.1/Data/SortedList.hs new/sorted-list-0.2.0.0/Data/SortedList.hs --- old/sorted-list-0.1.6.1/Data/SortedList.hs 2016-05-28 17:52:12.000000000 +0200 +++ new/sorted-list-0.2.0.0/Data/SortedList.hs 2016-05-28 19:38:15.000000000 +0200 @@ -30,8 +30,8 @@ , dropWhile , span , filter - , filterLT - , filterGT + , filterLE + , filterGE , partition -- * Queries #if !MIN_VERSION_base(4,8,0) @@ -227,15 +227,15 @@ filter f = fst . partition f -- | /O(n)/. Select only elements less or equal to the argument. -filterLT :: Ord a => a -> SortedList a -> SortedList a -filterLT a (SortedList l) = SortedList $ go l +filterLE :: Ord a => a -> SortedList a -> SortedList a +filterLE a (SortedList l) = SortedList $ go l where go (x:xs) = if x <= a then x : go xs else [] go [] = [] -- | /O(n)/. Select only elements greater or equal to the argument. -filterGT :: Ord a => a -> SortedList a -> SortedList a -filterGT a (SortedList l) = SortedList $ go l +filterGE :: Ord a => a -> SortedList a -> SortedList a +filterGE a (SortedList l) = SortedList $ go l where go (x:xs) = if a <= x then x : xs else go xs go [] = [] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sorted-list-0.1.6.1/sorted-list.cabal new/sorted-list-0.2.0.0/sorted-list.cabal --- old/sorted-list-0.1.6.1/sorted-list.cabal 2016-05-28 18:10:40.000000000 +0200 +++ new/sorted-list-0.2.0.0/sorted-list.cabal 2016-05-28 19:38:28.000000000 +0200 @@ -1,5 +1,5 @@ name: sorted-list -version: 0.1.6.1 +version: 0.2.0.0 synopsis: Type-enforced sorted lists and related functions. description: Type-enforced sorted lists and related functions. .
participants (1)
-
root@hilbert.suse.de