makelist vs create_list



On 4/7/07, Stavros Macrakis <macrakis at alum.mit.edu> wrote:

> There is also a serious problem with the design of create_list.  Its
> generalization to multiple variables is very useful and unproblematic.
>  On the other hand, the fact that it allows either lists or ranges
> defined by integers makes its semantics weird, with the interpretation
> of its arguments depending on their values.

Well, map already allows multiple arguments which are lists,
and makelist allows a range defined by integers, but only one index.
How about if we generalize makelist to take multiple indices
and cut create_list entirely.

Robert