Add symbol checks to translators for MCALL, MARRAYREF, and MARRAYSET
[maxima.git] / share / contrib / Zeilberger / compatible.mac
blobbf09e0309a2ba44e580634dc6bf0c7734c607ad3
1 /* Maxima-compatibility definitions */
3 /* RISC Institute, Linz, Austria    */
4 /* by Fabrizio Caruso               */
7 zb_op(expr) := 
8   if atom(expr) then
9      expr
10   else 
11      part(expr,0);
14 zb_operatorp(expr,operator) :=
15     if zb_op(expr)=operator then
16        true
17     else
18        false;