Daniel Fischer writes: >> A numeric range [a..a+n] might be expected >> to have a+n+1 elements, but that doesn't hold either for Float and >> Double. I think Enum for floating point values is broken > >Yes, it is. Like Eq and Ord.
.. only more so. And the brokenness has infected Rational: try [1,3..20]::[Rational] _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe