Skip to content

Commit

Permalink
Updates for GHC 8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulJohnson committed Mar 12, 2019
1 parent 2a6445d commit 8e7f7b1
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 21 deletions.
20 changes: 2 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ geodetics

Haskell library of data types and calculations for positions on planet Earth

This library provides "geodetic" positions. That is, latitude, longitude and altitude on a
This library provides "geodetic" positions. That is, latitude, longitude and altitude on a
specified Terrestrial Reference Frame (TRF). The basic TRF is the WGS84, which is the
one used by GPS and Google Earth. Others can be added by describing the underlying ellipsoid
and the difference in angle and centre with WGS84, and a position in one TRF can be
transformed into another. Given two points in the same TRF you can find the shortest distance
transformed into another. Given two points in the same TRF you can find the shortest distance
between them and the bearing from one to the other.

Once you have a geodetic position defined you can project it onto a flat plane, or Grid.
Expand All @@ -18,19 +18,3 @@ detais.
The Paths module defines a path as a parametric function of distance that returns a
position and a bearing. Given two paths you can find their intersection using a fast
iterative algorithm.

Release Notes
-------------

Version 0.0.2: Tided up cabal file and removed spurious dependency on Parsec.

Version 0.0.3: Updated for Haskell Platform 2014.2.0.0 and GHC 7.8.3. Fixed
some minor documentation issues.

Version 0.0.4: Updated for Dimensional 1.0.

Version 0.0.5: Fixed bug in Monoid instance for Helmert. Created Semigroup
instance for Helmert.

Version 0.0.6: Prevent attempted building on GHC 7.8 (it doesn't work)
and fix the build on 7.10 with a conditional semigroups dependency
17 changes: 17 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Release Notes
-------------

Version 0.0.2: Tided up cabal file and removed spurious dependency on Parsec.

Version 0.0.3: Updated for Haskell Platform 2014.2.0.0 and GHC 7.8.3. Fixed
some minor documentation issues.

Version 0.0.4: Updated for Dimensional 1.0.

Version 0.0.5: Fixed bug in Monoid instance for Helmert. Created Semigroup
instance for Helmert.

Version 0.0.6: Prevent attempted building on GHC 7.8 (it doesn't work)
and fix the build on 7.10 with a conditional semigroups dependency

Version 0.1.0: Updated for Dimensional 1.3 and GHC 8.6.
7 changes: 4 additions & 3 deletions geodetics.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ data-files:
AddingProjections.txt,
LICENSE,
README.md,
changelog.md,
ToDo.txt
license: BSD3
copyright: Paul Johnson 2015.
copyright: Paul Johnson 2018.
synopsis: Terrestrial coordinate systems and geodetic calculations.
description: Precise geographical coordinates (latitude & longitude), with conversion between
different reference frames and projections.
Expand All @@ -30,7 +31,7 @@ source-repository head
library
hs-source-dirs: src
build-depends:
base >= 4.7,
base >= 4.6 && < 5,
dimensional >= 1.3,
array >= 0.4,
semigroups >= 0.9
Expand All @@ -52,7 +53,7 @@ test-suite GeodeticTest
main-is: Main.hs
x-uses-tf: true
build-depends: geodetics,
base >= 4.6,
base >= 4.6 && < 5,
HUnit >= 1.2,
dimensional >= 1.3,
QuickCheck >= 2.4,
Expand Down

0 comments on commit 8e7f7b1

Please sign in to comment.