[Haskell-cafe] Re: Why is Day and Month bounded?
David Roundy
droundy at darcs.net
Fri Jul 14 10:07:06 EDT 2006
On Fri, Jul 14, 2006 at 02:28:20PM +0100, David House wrote:
> On 14/07/06, David Roundy <droundy at darcs.net> wrote:
> >Anyhow, just thought I'd mention that
> >this isn't useful only for "ordinary" cyclic objects like dates.
>
> Correct. Which is why Chris Kuklewicz included instances for, e.g., Int :)
Ah, that's what I get for just skimming the thread! :)
> I think this would be a great class to have in the standard libs. It
> would be even better if we could derive it.
I agree, it sounds very nice (although I've obviously not even looked
at the implementation).
--
David Roundy
More information about the Haskell-Cafe
mailing list