Menu

#922 subst and subscripted operators

open
nobody
Lisp Core (461)
3
2012-11-18
2006-05-13
No

This works ok:

(%i1) subst("[",f, f(1,2,3));
(%o1) [1,2,3]

This doesn't (but ought to):

(%i2) subst("[",f[1], f[1](1,2,3));
(%o2) [(1,2,3)
(%i3) ?print(%);
((&[ SIMP) 1 2 3) <-- needs to $verbify caar

Barton

Discussion


Log in to post a comment.