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 +3/−3
- astro.cabal +3/−3
- src/Data/Astro/Moon.hs +2/−0
README.md view
@@ -1,8 +1,8 @@ # Amateur astronomical computations -[](https://travis-ci.org/Alexander-Ignatyev/astro)-[](https://coveralls.io/github/Alexander-Ignatyev/astro)-[](https://alexander-ignatyev.github.io/astro-docs/doc/index.html)+[](https://travis-ci.org/aligusnet/astro)+[](https://coveralls.io/github/aligusnet/astro)+[](https://aligusnet.github.io/astro-docs/doc/index.html) [](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.