RFC: Time Library 0.3

Ross Paterson ross at soi.city.ac.uk
Mon Feb 6 07:49:58 EST 2006

On Mon, Feb 06, 2006 at 12:00:44AM -0800, Ashley Yakeley wrote:
> Please take a look at my third draft of a replacement for the standard 
> time library.
> http://semantic.org/TimeLib/

It looks very clean.

One oddity I noted was that the Gregorian counterparts of the functions
in Data.Time.Calendar.Julian are split between Data.Time.Calendar
and Data.Time.Calendar.OrdinalDate, the latter having different names.
Data.Time.Calendar.Gregorian?  Then someone will want you to take Julian
and Gregorian out of the function names, I suppose.  You might want to
throw in Julian versions of the startWeek functions for completeness.
There's also the question of replacing some tuples by records.

Might the Clock and LocalTime modules belong under System?

More information about the Libraries mailing list