Use exp as a list should work like the rest of the words.
Egg:
/* example with word expr (not exp) */ expr:makelist(1,3); expr[1]:5; print(expr); /* prints [5,1,1] */ /* example with word exp */ exp:makelist(1,3); exp[1]:5; print(exp); /* prints [1,1,1] the first element should be 5, but it was 1! */
exp is used as function exponential, if it cannot be used as a list, then a message error should be printed when someone assigned a list to it.
Thank you for reporting this bug.
More generally, it turns out that for any name which has both a noun and a verb form, name[i]:val assigns to the verb symbol, not the noun symbol. This is a bug.
Fixed by commit [6b5fa46], Thanks for pointing it out. Closing this report.
Diff: