Hello community,
here is the log from the commit of package ghc-vector-space for
openSUSE:Factory checked in at 2016-11-18 22:01:27
Comparing /work/SRC/openSUSE:Factory/ghc-vector-space (Old)
and /work/SRC/openSUSE:Factory/.ghc-vector-space.new (New)
Package is "ghc-vector-space"
Changes:
--- /work/SRC/openSUSE:Factory/ghc-vector-space/ghc-vector-space.changes
2016-11-10 13:17:11.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-vector-space.new/ghc-vector-space.changes
2016-11-18 22:01:28.0 +0100
@@ -1,0 +2,5 @@
+Thu Sep 15 06:41:24 UTC 2016 - psim...@suse.com
+
+- Update to version 0.10.4 revision 0 with cabal2obs.
+
+---
Old:
vector-space-0.10.3.tar.gz
New:
vector-space-0.10.4.tar.gz
Other differences:
--
++ ghc-vector-space.spec ++
--- /var/tmp/diff_new_pack.1xgZZU/_old 2016-11-18 22:01:29.0 +0100
+++ /var/tmp/diff_new_pack.1xgZZU/_new 2016-11-18 22:01:29.0 +0100
@@ -18,21 +18,19 @@
%global pkg_name vector-space
Name: ghc-%{pkg_name}
-Version:0.10.3
+Version:0.10.4
Release:0
Summary:Vector & affine spaces, linear maps, and derivatives
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
-# Begin cabal-rpm deps:
BuildRequires: ghc-Boolean-devel
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-MemoTrie-devel
BuildRequires: ghc-NumInstances-devel
BuildRequires: ghc-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-# End cabal-rpm deps
%description
/vector-space/ provides classes and generic operations for vector spaces and
@@ -61,15 +59,12 @@
%prep
%setup -q -n %{pkg_name}-%{version}
-
%build
%ghc_lib_build
-
%install
%ghc_lib_install
-
%post devel
%ghc_pkg_recache
++ vector-space-0.10.3.tar.gz -> vector-space-0.10.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/vector-space-0.10.3/src/Data/Cross.hs
new/vector-space-0.10.4/src/Data/Cross.hs
--- old/vector-space-0.10.3/src/Data/Cross.hs 2016-01-29 17:53:24.0
+0100
+++ new/vector-space-0.10.4/src/Data/Cross.hs 2016-09-09 21:04:17.0
+0200
@@ -48,8 +48,7 @@
instance AdditiveGroup u => HasCross2 (u,u) where
cross2 (x,y) = (negateV y,x) -- or @(y,-x)@?
-instance ( HasBasis a, HasTrie (Basis a)
- , VectorSpace v, HasCross2 v) => HasCross2 (a:>v) where
+instance (HasTrie (Basis a), HasCross2 v) => HasCross2 (a:>v) where
-- 2d cross-product is linear
cross2 = fmapD cross2
@@ -73,8 +72,7 @@
-- l `atB` b = maybe zeroV (`untrie` b) l
-instance ( Num s, VectorSpace s
- , HasBasis s, HasTrie (Basis s), Basis s ~ ())
+instance (VectorSpace s, HasBasis s, HasTrie (Basis s), Basis s ~ ())
=> HasNormal (Two (One s :> s)) where
normalVec = unpairD . normalVec . pairD
@@ -101,7 +99,7 @@
where
d = derivAtBasis v
-instance ( Num s, VectorSpace s, HasBasis s, HasTrie (Basis s)
- , HasNormal (Two s :> Three s))
+instance ( VectorSpace s, HasBasis s, HasTrie (Basis s)
+ , HasNormal (Two s :> Three s) )
=> HasNormal (Three (Two s :> s)) where
normalVec = untripleD . normalVec . tripleD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/vector-space-0.10.3/src/Data/LinearMap.hs
new/vector-space-0.10.4/src/Data/LinearMap.hs
--- old/vector-space-0.10.3/src/Data/LinearMap.hs 2016-01-29
17:53:24.0 +0100
+++ new/vector-space-0.10.4/src/Data/LinearMap.hs 2016-09-09
21:04:17.0 +0200
@@ -1,10 +1,11 @@
+{-# LANGUAGE TupleSections #-}
{-# LANGUAGE CPP, TypeOperators, FlexibleContexts, TypeFamilies
, GeneralizedNewtypeDeriving, StandaloneDeriving, UndecidableInstances #-}
{-# OPTIONS_GHC -Wall -fno-warn-orphans #-}
--
-- |
-- Module : Data.LinearMap
--- Copyright : (c) Conal Elliott 2008-2012
+-- Copyright : (c) Conal Elliott 2008-2016
-- License : BSD3
--
-- Maintainer : co...@conal.net
@@ -18,7 +19,8 @@
, inLMap, inLMap2, inLMap3
, liftMS, liftMS2, liftMS3
, liftL, liftL2, liftL3
- , firstL
+ , exlL, exrL, forkL, firstL, secondL
+ , inlL, inrL, joinL -- , leftL, rightL
)
where
@@ -26,7 +28,7 @@
import Control.Applicative (Applicative)
#endif
import Control.Applicative (liftA2, liftA3)
-import Control.Arrow (first)