[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


This page is part of the web mail archives of SRFI 1 from before July 7th, 2015. The new archives for SRFI 1 contain all messages, not just those from before July 7th, 2015.

The document specifies both .iota and iota. as

In general, these procedures return the list whose elements are of the form 
      FROM + i * STEP 
      0 <= i < ceiling((TO-FROM)/STEP) (.IOTA)
      0 < i <= floor((TO-FROM)/STEP) (IOTA.) 

While these may be a generalization of APL's iota,
what's the rationale for them, vs something like:

(iota count)            ; start=0, step=1
(iota count start)      ; step=1
(iota count start step)