
28 Dec
2012
28 Dec
'12
6:52 p.m.
On 28/12/2012, Strake
I also don't think it is a good idea to have direct Monoid instances for Max and Min, because they behave weirdly on empty lists. Do you really think that "minimum [] :: Int" should be defined?
If we had the Bounded constraint, it wouldn't be.
Derp. Sorry, I was thinking Integer. Well, it's bounded, so yes, it should be. Now we have an exception.