title: (wx)Maxima: how to iterate an action over every member of a list?
body: <p>I'm wondering if there is a functional way to apply an action to every element of list, in Maxima, without necessarily looping over the list?</p>
  <p>e.g. if I would like to remove every element of the list <code>a:[1,2,3]</code> from the list <code>b:[5,4,3,2,1]</code>. Obviously, something like:</p>
  <pre><code>f(a,b):=
  block(
  [aList:a, newList:b],
  for k thru length(aList)
  do newList: delete(aList[k],newList) 
  );
  </code></pre>
  <p>I just wondered if there was a more direct way? I thought <code>apply</code> might work, but couldn't figure it out, as it seems to take the whole list as the argument (vs. list elements).</p>