The manual says:
procedure: (iota n) => pair
The iota function produces a list whose elements are the integers 0 to n-1 inclusive.
-- SISC does:
SISC (r1.4.0) - main > (iota 4) (0 1 2 3 4) > (iota 10) (0 1 2 3 4 5 6 7 8 9 10) >
Logged In: NO
This is a bug in the manual, actually. Should be 0-n inclusive.
Logged In: YES user_id=25869
Fixed in CVS. (Manual was incorrect)
Sorry, I was wrong again. iota should be 0 - n-1, unfixing in Manual and fixing the code.
Logged In: YES user_id=110070
fixed in cvs. 0..n-1.
Log in to post a comment.
Logged In: NO
This is a bug in the manual, actually. Should be 0-n inclusive.
Logged In: YES
user_id=25869
Fixed in CVS. (Manual was incorrect)
Logged In: YES
user_id=25869
Sorry, I was wrong again. iota should be 0 - n-1, unfixing
in Manual and fixing the code.
Logged In: YES
user_id=110070
fixed in cvs.
0..n-1.