I added to the file mdo.lisp, referred to earlier the treatment of sets. Now for i in [a,b] collect f(i) returns [f[a],f[b]] The display program in the command-line version of maxima displays this new form of "do" properly. wxmaxima displays h(x):=for i in x collect f(i) using "mdoin-collect" instead of for ... collect. RJF.