packages feed

vector-space-points 0.1.0.0 → 0.1.1.0

raw patch · 2 files changed

+4/−4 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

src/Data/AffineSpace/Point.hs view
@@ -24,7 +24,7 @@        ) where  import Data.VectorSpace-import qualified Data.AffineSpace as AS+import Data.AffineSpace  import Control.Newtype import Data.Data (Data)@@ -50,8 +50,8 @@ origin :: AdditiveGroup v => Point v origin = P zeroV -instance AdditiveGroup v => AS.AffineSpace (Point v) where-  type AS.Diff (Point v) = v+instance AdditiveGroup v => AffineSpace (Point v) where+  type Diff (Point v) = v   P v1 .-. P v2 = v1 ^-^ v2   P v1 .+^ v2   = P (v1 ^+^ v2) 
vector-space-points.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                vector-space-points-version:             0.1.0.0+version:             0.1.1.0 synopsis:            A type for points, as distinct from vectors. description:         A type for points, as distinct from vectors, built on top                      of Data.AffineSpace.