packages feed

astro 0.4.2.0 → 0.4.2.1

raw patch · 3 files changed

+8/−6 lines, 3 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Data.Astro.Types: toDMS :: (Integral t, Integral t1) => DecimalDegrees -> (t1, t, Double)
+ Data.Astro.Types: toDMS :: (Integral b, Integral a) => DecimalDegrees -> (a, b, Double)
- Data.Astro.Types: toHMS :: (Integral t, Integral t1) => DecimalHours -> (t1, t, Double)
+ Data.Astro.Types: toHMS :: (Integral b, Integral a) => DecimalHours -> (a, b, Double)

Files

README.md view
@@ -1,8 +1,8 @@ # Amateur astronomical computations -[![Build Status](https://travis-ci.org/Alexander-Ignatyev/astro.svg?branch=master)](https://travis-ci.org/Alexander-Ignatyev/astro)-[![Coverage Status](https://coveralls.io/repos/github/Alexander-Ignatyev/astro/badge.svg)](https://coveralls.io/github/Alexander-Ignatyev/astro)-[![Documentation](https://img.shields.io/badge/astro-documentation-blue.svg)](https://alexander-ignatyev.github.io/astro-docs/doc/index.html)+[![Build Status](https://travis-ci.org/aligusnet/astro.svg?branch=master)](https://travis-ci.org/aligusnet/astro)+[![Coverage Status](https://coveralls.io/repos/github/aligusnet/astro/badge.svg)](https://coveralls.io/github/aligusnet/astro)+[![Documentation](https://img.shields.io/badge/astro-documentation-blue.svg)](https://aligusnet.github.io/astro-docs/doc/index.html) [![Hackage](https://img.shields.io/hackage/v/astro.svg)](https://hackage.haskell.org/package/astro)   
astro.cabal view
@@ -1,12 +1,12 @@ name:                astro-version:             0.4.2.0+version:             0.4.2.1 synopsis:            Amateur astronomical computations description:     Amateur astronomical computations: rise and set times and azimuths,     coordinates, distances, angular sizes and other parameters     of the Sun, the Moon, planets and stars. -homepage:            https://github.com/alexander-ignatyev/astro+homepage:            https://github.com/aligusnet/astro license:             BSD3 license-file:        LICENSE author:              Alexander Ignatyev@@ -85,4 +85,4 @@  source-repository head   type:     git-  location: https://github.com/alexander-ignatyev/astro+  location: https://github.com/aligusnet/astro.git
src/Data/Astro/Moon.hs view
@@ -105,6 +105,7 @@   -- | Calculate Equatorial Coordinates of the Moon with the given MoonDetails and at the given JulianDate.+--  -- It is recommended to use 'j2010MoonDetails' as a first parameter. moonPosition1 :: MoonDetails -> JulianDate -> EquatorialCoordinates1 moonPosition1 md ut =@@ -127,6 +128,7 @@ -- distance to the Moon, geographic coordinates of the onserver, -- height above sea-level of the observer measured in metres (20 is a good reasonable value for the height) -- and at the given JulianDate.+--  -- It is recommended to use 'j2010MoonDetails' as a first parameter, -- to obtain the distance to the Moon you can use `moonDistance1` function. -- `moonPosition2` takes into account parallax effect.