[Haskell-cafe] Re: Why is Day and Month bounded?

David House dmhouse at gmail.com
Fri Jul 14 09:29:27 EDT 2006


On 14/07/06, Johan Holmquist <holmisen at gmail.com> wrote:
> > You mean  [Monday, Tuesday ... Sunday, Monday] ?
>
> Actually not. No repetitions.

That seems like a very bad idea. '..' normally means 'inclusive',
breaking those semantics would be a very weird thing to do, and breaks
the principle of least surprise.

-- 
-David House, dmhouse at gmail.com


More information about the Haskell-Cafe mailing list