[Haskell-beginners] map increases length of list
Aai
bradypus at xs4all.nl
Thu Jun 18 11:32:26 EDT 2009
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
More information about the Beginners
mailing list