[Hugs-users] Arithmetical series
Paqui Lucio
jiplucap at si.ehu.es
Thu May 5 10:27:14 EDT 2005
Hi,
Please, what is the exactly meaning of [n,m..m]?
or where can I find a precise explanation obout this arithmetical series?
I mean, it seems quite strange that, for example:
Prelude> [1.2,3.3..8]
[1.2,3.3,5.4,7.5]
Prelude> [1.2,3.3..9]
[1.2,3.3,5.4,7.5,9.6]
Prelude> [1,-3..(-14)]
[1,-3,-7,-11]
Prelude> [1,-3..(-15)]
[1,-3,-7,-11,-15]
Thanks in advance,
Paqui
---------------------------------
Paqui Lucio
Dpto de LSI
Facultad de Informática
Paseo Manuel de Lardizabal, 1
20080-San Sebastián
SPAIN
---------------------------------
Tfn: (+34) (9)43 015049
Fax: (+34) (9)43 015590
---------------------------------
More information about the Hugs-Users
mailing list