Isn't "++" itself the perfect Monoid operator? Lambdabot seems to think so.
On Tue, Jun 30, 2009 at 13:04, Edward Kmett wrote:
> I love the idea, but its tricky to come up with one that is good that won't
> break a lot of user code that imports Data.Monoid unqualified.
> -Edward Kmett
>
> On Tue,
meaning
once the precision of the floats exceeds a certain value.
> until (\x -> x == succ x) succ 1.0 :: Float
1.6777216e7
It would be interesting to have an enumeration for Double/Float that
goes from -Infinity to Infinity, reaching every single number on the
way.
Josh Lee
_