Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-indexed-traversable-instances
for openSUSE:Factory checked in at 2022-10-13 15:42:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-indexed-traversable-instances (Old)
and
/work/SRC/openSUSE:Factory/.ghc-indexed-traversable-instances.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-indexed-traversable-instances"
Thu Oct 13 15:42:21 2022 rev:4 rq:1008481 version:0.1.1.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-indexed-traversable-instances/ghc-indexed-traversable-instances.changes
2022-08-01 21:30:11.985622176 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-indexed-traversable-instances.new.2275/ghc-indexed-traversable-instances.changes
2022-10-13 15:42:28.778777099 +0200
@@ -1,0 +2,8 @@
+Thu Aug 11 06:48:34 UTC 2022 - Peter Simons <[email protected]>
+
+- Update indexed-traversable-instances to version 0.1.1.1.
+ # 0.1.1 [2021-10-30]
+
+ - Add `Solo` instances
+
+-------------------------------------------------------------------
Old:
----
indexed-traversable-instances-0.1.1.tar.gz
indexed-traversable-instances.cabal
New:
----
indexed-traversable-instances-0.1.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-indexed-traversable-instances.spec ++++++
--- /var/tmp/diff_new_pack.Vy8l3V/_old 2022-10-13 15:42:29.366778246 +0200
+++ /var/tmp/diff_new_pack.Vy8l3V/_new 2022-10-13 15:42:29.370778255 +0200
@@ -19,13 +19,12 @@
%global pkg_name indexed-traversable-instances
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.1.1
+Version: 0.1.1.1
Release: 0
Summary: More instances of FunctorWithIndex, FoldableWithIndex,
TraversableWithIndex
License: BSD-2-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/1.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-OneTuple-devel
BuildRequires: ghc-indexed-traversable-devel
@@ -66,7 +65,6 @@
%prep
%autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
++++++ indexed-traversable-instances-0.1.1.tar.gz ->
indexed-traversable-instances-0.1.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/indexed-traversable-instances-0.1.1/Changelog.md
new/indexed-traversable-instances-0.1.1.1/Changelog.md
--- old/indexed-traversable-instances-0.1.1/Changelog.md 2001-09-09
03:46:40.000000000 +0200
+++ new/indexed-traversable-instances-0.1.1.1/Changelog.md 2001-09-09
03:46:40.000000000 +0200
@@ -1,3 +1,7 @@
+# 0.1.1 [2021-10-30]
+
+- Add `Solo` instances
+
# 0.1 [2020-12-15]
- Split out and combine this package functionality from `lens` and `optics`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/indexed-traversable-instances-0.1.1/bench/folds.hs
new/indexed-traversable-instances-0.1.1.1/bench/folds.hs
--- old/indexed-traversable-instances-0.1.1/bench/folds.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/indexed-traversable-instances-0.1.1.1/bench/folds.hs 1970-01-01
01:00:00.000000000 +0100
@@ -1,72 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE DeriveFunctor #-}
-{-# LANGUAGE FlexibleContexts #-}
-{-# LANGUAGE RankNTypes #-}
-module Main (main) where
-
-import Criterion.Main (bench, bgroup, defaultMain, nf)
-
-import qualified Data.Foldable as F
-import qualified Data.HashMap.Lazy as HM
-import qualified Data.Map as Map
-import qualified Data.Sequence as Seq
-import qualified Data.Vector as V
-
-import Data.Foldable.WithIndex
-import Data.Functor.WithIndex.Instances ()
-
-main :: IO ()
-main = defaultMain
- [ bgroup "vector"
- [ bgroup "itoList"
- [ bench "native" $ nf (V.toList . V.indexed) v
- , bench "itoList" $ nf itoList v
- ]
- ]
-#if MIN_VERSION_containers(0,5,0)
- , bgroup "sequence"
- [ bgroup "itoList"
- [ bench "native" $ nf (F.toList . Seq.mapWithIndex (,)) s
- , bench "itoList" $ nf itoList s
- ]
- ]
-#endif
- , bgroup "list"
- [ bgroup "itoList"
- [ bench "native" $ nf (zip [(0::Int)..]) l
- , bench "itoList" $ nf itoList l
- ]
- ]
- , bgroup "map"
- [ bgroup "itoList"
- [ bench "native" $ nf Map.toList m
- , bench "itoList" $ nf itoList m
- ]
- ]
- , bgroup "hashmap"
- [ bgroup "itoList"
- [ bench "native" $ nf HM.toList h
- , bench "itoList" $ nf itoList h
- ]
- ]
- ]
-
-l :: [Int]
-l = [0..10000]
-{-# NOINLINE l #-}
-
-h :: HM.HashMap Int Int
-h = HM.fromList $ zip l l
-{-# NOINLINE h #-}
-
-m :: Map.Map Int Int
-m = Map.fromList $ zip l l
-{-# NOINLINE m #-}
-
-s :: Seq.Seq Int
-s = Seq.fromList l
-{-# NOINLINE s #-}
-
-v :: V.Vector Int
-v = V.fromList l
-{-# NOINLINE v #-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/indexed-traversable-instances-0.1.1/bench/traversals.hs
new/indexed-traversable-instances-0.1.1.1/bench/traversals.hs
--- old/indexed-traversable-instances-0.1.1/bench/traversals.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/indexed-traversable-instances-0.1.1.1/bench/traversals.hs
1970-01-01 01:00:00.000000000 +0100
@@ -1,78 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE DeriveFunctor #-}
-{-# LANGUAGE FlexibleContexts #-}
-{-# LANGUAGE RankNTypes #-}
-{-# OPTIONS_GHC -fno-warn-orphans #-}
-module Main (main) where
-
-import Criterion.Main (bench, bgroup, defaultMain, nf)
-
-import qualified Data.HashMap.Lazy as HM
-import qualified Data.Map as Map
-import qualified Data.Sequence as Seq
-import qualified Data.Vector as V
-
-import Data.Functor.WithIndex (imap)
-import Data.Functor.WithIndex.Instances ()
-import Data.Traversable.WithIndex (imapDefault)
-
-main :: IO ()
-main = defaultMain
- [ bgroup "vector"
- [ bgroup "imap"
- [ bench "native" $ nf (V.imap (\i x -> x + i + 100)) v
- , bench "imap" $ nf (imap (\i x -> x + i + 100)) v
- , bench "default" $ nf (imapDefault (\i x -> x + i + 100)) v
- ]
- ]
-#if MIN_VERSION_containers(0,5,0)
- , bgroup "sequence"
- [ bgroup "imap"
- [ bench "native" $ nf (Seq.mapWithIndex (\i x -> x + i + 100)) s
- , bench "imap" $ nf (imap (\i x -> x + i + 100)) s
- , bench "default" $ nf (imapDefault (\i x -> x + i + 100)) s
- ]
- ]
-#endif
- , bgroup "list"
- [ bgroup "imap"
- [ bench "native" $ nf (zipWith (\i x -> x + i + 100) [0..]) l
- , bench "imap" $ nf (imap (\i x -> x + i + 100)) l
- , bench "default" $ nf (imapDefault (\i x -> x + i + 100)) l
- ]
- ]
- , bgroup "map"
- [ bgroup "imap"
- [ bench "native" $ nf (Map.mapWithKey (\i x -> x + i + 100)) m
- , bench "imap" $ nf (imap (\i x -> x + i + 100)) m
- , bench "default" $ nf (imapDefault (\i x -> x + i + 100)) m
- ]
- ]
- , bgroup "hashmap"
- [ bgroup "imap"
- [ bench "native" $ nf (HM.mapWithKey (\i x -> x + i + 100)) h
- , bench "imap" $ nf (imap (\i x -> x + i + 100)) h
- , bench "default" $ nf (imapDefault (\i x -> x + i + 100)) h
- ]
- ]
- ]
-
-l :: [Int]
-l = [0..10000]
-{-# NOINLINE l #-}
-
-h :: HM.HashMap Int Int
-h = HM.fromList $ zip l l
-{-# NOINLINE h #-}
-
-m :: Map.Map Int Int
-m = Map.fromList $ zip l l
-{-# NOINLINE m #-}
-
-s :: Seq.Seq Int
-s = Seq.fromList l
-{-# NOINLINE s #-}
-
-v :: V.Vector Int
-v = V.fromList l
-{-# NOINLINE v #-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/indexed-traversable-instances-0.1.1/indexed-traversable-instances.cabal
new/indexed-traversable-instances-0.1.1.1/indexed-traversable-instances.cabal
--- old/indexed-traversable-instances-0.1.1/indexed-traversable-instances.cabal
2001-09-09 03:46:40.000000000 +0200
+++
new/indexed-traversable-instances-0.1.1.1/indexed-traversable-instances.cabal
2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
cabal-version: 1.12
name: indexed-traversable-instances
-version: 0.1.1
+version: 0.1.1.1
build-type: Simple
license: BSD2
license-file: LICENSE
@@ -31,8 +31,9 @@
|| ==8.6.5
|| ==8.8.4
|| ==8.10.7
- || ==9.0.1
- || ==9.2.1
+ || ==9.0.2
+ || ==9.2.4
+ || ==9.4.1
source-repository head
type: git
@@ -44,12 +45,12 @@
ghc-options: -Wall
hs-source-dirs: src
build-depends:
- base >=4.5 && <4.17
+ base >=4.5 && <4.18
, indexed-traversable >=0.1 && <0.2
, OneTuple >=0.3 && <0.4
, tagged >=0.8.6 && <0.9
, unordered-containers >=0.2.8.0 && <0.3
- , vector >=0.12.1.2 && <0.13
+ , vector >=0.12.1.2 && <0.14
exposed-modules: Data.Functor.WithIndex.Instances
@@ -85,35 +86,3 @@
, quickcheck-instances >=0.3.26 && <0.4
, tasty >=1.2.3 && <1.5
, tasty-quickcheck >=0.10.1.1 && <0.11
-
-benchmark folds
- type: exitcode-stdio-1.0
- main-is: folds.hs
- default-language: Haskell2010
- hs-source-dirs: bench
- ghc-options: -Wall
- build-depends:
- base
- , containers
- , indexed-traversable
- , indexed-traversable-instances
- , unordered-containers
- , vector
-
- build-depends: criterion >=1.5.9.0 && <1.6
-
-benchmark traversals
- type: exitcode-stdio-1.0
- main-is: traversals.hs
- default-language: Haskell2010
- hs-source-dirs: bench
- ghc-options: -Wall
- build-depends:
- base
- , containers
- , indexed-traversable
- , indexed-traversable-instances
- , unordered-containers
- , vector
-
- build-depends: criterion >=1.5.9.0 && <1.6