question using subst



But there is a problem:

(%i1) eq1  : a = b$
(%i2) eq2 : c = d$
(%i3) l : makelist(concat(eq,k),k,1,2);
(%o3) [eq1,eq2]
(%i4) ev(l);
(%o4) [eq1,c=d]  <--- why does eq2 evaluate but not eq1?

Let's try evaluating outside a list

(%i5) concat(eq,1);
(%o5) eq1
(%i6) ev(%);
(%o6) eq1   <---- same problem as before
(%i7) concat(eq,2);
(%o7) eq2
(%i8) ev(%);
(%o8) c=d

Is this a case confusion that is fixed in cvs?

(%i14) build_info();
Maxima version: 5.9.1
Maxima build date: 7:34 9/24/2004
host type: i686-pc-mingw32
lisp-implementation-type: Kyoto Common Lisp
lisp-implementation-version: GCL 2.6.5