Question: magic with lists

Hi,  assume i have a list

m:=[1,5,3];

My (to the core reduced) problem is:
I want to write a procedure that generates  the sequence containing the listname  together with its elements:

m1,m5,m3

my try:

p:=proc(L::list)
`L`||(op(L));
 end proc;

This doesn't work (illegal use of a formal parameter).

What to do ?

 

 

 

Please Wait...