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