packages feed

vector-space 0.8.7 → 0.9

raw patch · 4 files changed

+15/−5 lines, 4 filesdep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base

API changes (from Hackage documentation)

- Data.Maclaurin: D :: b -> a :-* (a :> b) -> :> a b
+ Data.Maclaurin: D :: b -> a :-* (a :> b) -> (:>) a b
- Data.Maclaurin: derivative :: :> a b -> a :-* (a :> b)
+ Data.Maclaurin: derivative :: (:>) a b -> a :-* (a :> b)
- Data.Maclaurin: powVal :: :> a b -> b
+ Data.Maclaurin: powVal :: (:>) a b -> b

Files

src/Data/AdditiveGroup.hs view
@@ -20,8 +20,11 @@ import Prelude hiding (foldr)  import Control.Applicative+#if !(MIN_VERSION_base(4,8,0)) import Data.Monoid (Monoid(..))-import Data.Foldable (Foldable,foldr)+import Data.Foldable (Foldable)+#endif+import Data.Foldable (foldr) import Data.Complex hiding (magnitude) import Data.Ratio import Foreign.C.Types (CSChar, CInt, CShort, CLong, CLLong, CIntMax, CFloat, CDouble)
src/Data/LinearMap.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE TypeOperators, FlexibleContexts, TypeFamilies, GeneralizedNewtypeDeriving, StandaloneDeriving #-}+{-# LANGUAGE CPP, TypeOperators, FlexibleContexts, TypeFamilies, GeneralizedNewtypeDeriving, StandaloneDeriving #-} {-# OPTIONS_GHC -Wall -fno-warn-orphans #-} ---------------------------------------------------------------------- -- |@@ -21,7 +21,10 @@    )   where -import Control.Applicative (Applicative,liftA2,liftA3)+#if !(MIN_VERSION_base(4,8,0))+import Control.Applicative (Applicative)+#endif+import Control.Applicative (liftA2, liftA3) import Control.Arrow       (first)  import Data.MemoTrie      (HasTrie(..),(:->:))
src/Data/Maclaurin.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE TypeOperators, MultiParamTypeClasses, UndecidableInstances            , TypeSynonymInstances, FlexibleInstances            , FlexibleContexts, TypeFamilies-           , ScopedTypeVariables+           , ScopedTypeVariables, CPP   #-}  -- The ScopedTypeVariables is there just as a bug work-around.  Without it@@ -52,6 +52,10 @@ import Data.LinearMap  import Data.Boolean++#if MIN_VERSION_base(4,8,0)+import Prelude hiding ((<*))+#endif  infixr 9 `D` -- | Tower of derivatives.
vector-space.cabal view
@@ -1,5 +1,5 @@ Name:                vector-space-Version:             0.8.7+Version:             0.9 Cabal-Version:       >= 1.6 Synopsis:            Vector & affine spaces, linear maps, and derivatives Category:            math