
4:49 p.m.
Stefan O'Rear wrote:
On Fri, Apr 04, 2008 at 08:58:06PM +0100, PR Stanley wrote:
Hi folks [x, y..z] What's the role of x? Cheers, Paul
First number in the output; also all pairs differ as much as the first two numbers do.
Try e.g [1, 2 .. 10] and [0, 2 .. 10]
More to the point, the range y..z goes in steps of y-z. ;-)

4 Apr
4 Apr
4:19 p.m.
On Fri, Apr 04, 2008 at 08:58:06PM +0100, PR Stanley wrote:
[x, y..z] What's the role of x?
It's the first argument passed to enumFromThenTo. See sections 3.10 and 6.3.4 of the Haskell report. Ciao, Kili -- There's a limit to how many buttons a shirt should have. -- Theo de Raadt
6256
Age (days ago)
6259
Last active (days ago)
4 comments
5 participants
participants (5)
-
Andrew Coppin
-
Matthias Kilian
-
PR Stanley
-
Roel van Dijk
-
Stefan O'Rear