Is there an option variable that makes makelist
behave the same way in translated and untranslated
code? The user documentation for makelist doesn't
say what should happen with things like makelist(i,i,1,0).
(%i4) f(x) := block([n : length(x)], makelist(i,i,1,n))$
(%i5) f([]);
(%o5) []
(%i6) translate(f);
(%o6) [f]
(%i7) f([]);
Lower bound to MAKELIST:1, not less than upper bound:0
-- an error. Quitting. To debug this try DEBUGMODE(TRUE);
Barton