
18 Jun
2009
18 Jun
'09
11:32 a.m.
Check this out: Prelude> [0,60..330]::[Double] [0.0,60.0,120.0,180.0,240.0,300.0,360.0] Prelude> [0,60..329]::[Double] [0.0,60.0,120.0,180.0,240.0,300.0] It looks like the decision the step to the next value in case of flt. point enumeration depends on >= enumWith / 2. But that should be answered by those who know from under the hood. -- Met vriendelijke groet, =@@i