gps 1.0 → 1.0.1
raw patch · 2 files changed
+5/−5 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Data.GPS: lat :: Coordinate a => a -> Latitude
+ Data.GPS: lat :: Coordinate a => a -> Double
- Data.GPS: lon :: Coordinate a => a -> Longitude
+ Data.GPS: lon :: Coordinate a => a -> Double
Files
- Data/GPS/Core.hs +4/−4
- gps.cabal +1/−1
Data/GPS/Core.hs view
@@ -49,10 +49,10 @@ import Data.Lens.Common class (LatL a, LonL a) => Coordinate a where- lat :: a -> Latitude- lat = (^. latL)- lon :: a -> Longitude- lon = (^. lonL)+ lat :: a -> Double+ lat = runLatitude . (^. latL)+ lon :: a -> Double+ lon = runLongitude . (^. lonL) instance Coordinate Wpt instance Coordinate Pt
gps.cabal view
@@ -1,5 +1,5 @@ name: gps-version: 1.0+version: 1.0.1 license: BSD3 license-file: LICENSE author: Thomas DuBuisson <thomas.dubuisson@gmail.com>