
Is there any Haskell package/impl already that calculates sunrise and sunset for a given location (via lat/lon)? -- Mike

On Tue, Apr 20, 2010 at 01:33:54PM +0200, Markus Böhm wrote:
Is there any Haskell package/impl already that calculates sunrise and sunset for a given location (via lat/lon)?
-- Mike
Not that I am aware of. Have you searched on hackage (http://hackage.haskell.org/)? -Brent

G'day all.
Quoting Markus Böhm
Is there any Haskell package/impl already that calculates sunrise and sunset for a given location (via lat/lon)?
I have some code which does this. However, it should really be integrated with existing packages, such as Data.Time.Calendar. I'll email it to you off-list, but I'm just letting everyone know in case someone wants to own it. Andrew Bromage

Tx Andrew, makes my day.
As a hobby Haskell user I'd be very happy to see more packages with
real-world algorithm for plain application usage, e.g.
- tuple with sunrise, sunset, twilight times for a given day, lat, lon
- distance calculations (haversine etc.)
- other geo/bio/time/loc/3D-alg...
-- Markus
On Thu, Apr 22, 2010 at 5:11 AM,
G'day all.
Quoting Markus Böhm
: Is there any Haskell package/impl already that calculates sunrise and
sunset for a given location (via lat/lon)?
I have some code which does this. However, it should really be integrated with existing packages, such as Data.Time.Calendar. I'll email it to you off-list, but I'm just letting everyone know in case someone wants to own it.
Andrew Bromage
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
participants (3)
-
ajb@spamcop.net
-
Brent Yorgey
-
Markus Böhm