ANN: time-extras 1.1.4
lennart at augustsson.net
Mon Dec 28 07:57:32 EST 2009
Data instances are not just there for syb. There are needed for many
kinds of generic programming.
For instance, the generic JSON serializer uses Data, and it's nice to
be able to serialize even time related things.
Another example (which I use a lot) is Uniplate.
I see Typeable and Data as a way to provide a certain amount of
reflection, and I think they should be derived wherever possible.
Using them is a different matter; I think they should be used
sparingly. But when you need them, they are very useful.
On Sun, Dec 27, 2009 at 9:43 PM, Yitzchak Gale <gale at sefer.org> wrote:
> On Wed, Dec 23, 2009 at 10:45 AM, Ashley Yakeley <ashley at semantic.org> wrote:
>> time-extras 1.1.4 contains Data instances for types defined in time-1.1.4.
>> They are in a separate package because they require RankNTypes, which is not
>> Haskell 2010.
> It may be a bit late, but in my opinion you might consider changing the
> package name for future versions. Time is fundamental, ubiquitous,
> and yet quite complex. There are innumerable ways in which the time
> package is likely to be extended. Personally, I almost never use syb.
> Data instances are probably the last thing I would expect to find in
> a package called "time-extras". So to me this seems like a rather
> peculiar way to use up such a generic name.
> Libraries mailing list
> Libraries at haskell.org
More information about the Libraries