[Haskell-cafe] Re: Repair to floating point enumerations?

Henning Thielemann schlepptop at henning-thielemann.de
Wed Oct 15 17:25:57 EDT 2008

David Roundy schrieb:

> Why not look for a heuristic that gets the common cases right, rather
> than going with an elegant wrong solution? After all, these
> enumerations are most often used by people who neither care nor know
> how they're implemented, but who most likely would prefer if haskell
> worked as well as matlab, python, etc.

 Although MatLab has a lot of bad heuristics, they fortunately didn't
try to be too clever with respect to rounding errors. Floating point
enumerations have the same problems in MatLab as in all other languages.

More information about the Haskell-Cafe mailing list