A inconsistency with maplist (or with my understanding of maplist).
Subject: A inconsistency with maplist (or with my understanding of maplist).
From: Mark Skilbeck
Date: Mon, 08 Jul 2013 15:17:42 +0100
It really is a problem with my understanding of maplist as I haven't any.
The following quickly displays my troubles:
(%i188) maplist(identity, x/(x-2));
(%o188) [x,x-2]
(%i189) maplist(identity, x/(x-2)+1);
(%o189) [x/(x-2),1]
My initial belief was that maplist would map over the "terms" of the
second input (the expression x/(x-2), etc.), although maybe my
understand of what constitutes a "term" is wrong; however, the above
doesn't play ball! I would've thought in the first example that I would
receive [x/(x-2)].
What am I missing?
Cheers,
Mark.