How to generate a list of symbols



On Mon, 2010-09-20 at 15:23 -0500, Barton Willis wrote:
> The (5,.22.1 version and latter)  function gensym generates a unique 
> non-indexed symbol:
> 
>  (%i12) makelist(gensym(),i,1,5);
>  (%o12) [g34176,g34177,g34178,g34179,g34180] 

and it can also be written in a shorter form:

(%i13) makelist(gensym(),5);
(%o13) [g887, g888, g889, g890, g891]

Jaime