Ferenc Wagner <[EMAIL PROTECTED]> writes:

$ ghci
Prelude> :m Ratio
Ratio> [1%2..10%2]
> [1 % 2,3 % 2,5 % 2,7 % 2,9 % 2,11 % 2]

Hmmmm, the CVS copy of Hugs seems to suffer from a different problem:

Prelude> [0.5,1.5..5.5]::[Rational]
[0 % 1,1 % 1,2 % 1,3 % 1,4 % 1,5 % 1]

I'm expecting to see:

[1 % 2,3 % 2,5 % 2,7 % 2,9 % 2,11 % 2]

--
Alastair Reid










_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to