gloss 1.7.5.1 → 1.7.5.2
raw patch · 2 files changed
+4/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Graphics/Gloss/Data/Point.hs +3/−0
- gloss.cabal +1/−1
Graphics/Gloss/Data/Point.hs view
@@ -20,6 +20,9 @@ instance Num Point where (+) (x1, y1) (x2, y2) = (x1 + x2, y1 + y2) (-) (x1, y1) (x2, y2) = (x1 - x2, y1 - y2)+ (*) (x1, y1) (x2, y2) = (x1 * x2, y1 * y2)+ signum (x, y) = (signum x, signum y)+ abs (x, y) = (abs x, abs y) negate (x, y) = (negate x, negate y) fromInteger x = (fromInteger x, fromInteger x)
gloss.cabal view
@@ -1,5 +1,5 @@ Name: gloss-Version: 1.7.5.1+Version: 1.7.5.2 License: MIT License-file: LICENSE Author: Ben Lippmeier