freshline SciMax Toolbox fullmap

SciMax Toolbox >> full_listify

full_listify

Maxima Function

Calling Sequence

full_listify (a)

Description

Replaces every set operator in a by a list operator, and returns the result. full_listify replaces set operators in nested subexpressions, even if the main operator is not set.

listify replaces only the main operator.

Examples:

(%i1) full_listify ({a, b, {c, {d, e, f}, g}});
(%o1)               [a, b, [c, [d, e, f], g]]
(%i2) full_listify (F (G ({a, b, H({c, d, e})})));
(%o2)              F(G([a, b, H([c, d, e])]))
freshline SciMax Toolbox fullmap