oops! copy/paste/edit error. thanks for catching.
On Sun, Dec 02, 2007 at 09:57:50AM -0800, Conal Elliott wrote:I think you mean:
>
> instance (Ord a, Bounded a) => Monoid (Min a) where
> mempty = Min minBound
mempty = Min maxBoundThanks
> Min a `mappend` Min b = Min (a `min` b)
Ian
_______________________________________________
Libraries mailing list
Libraries@haskell.org
http://www.haskell.org/mailman/listinfo/libraries