pick solutions



A beginner's question. Say I obtain a list a of solutions for x., e.g.

(%i19) a : solve(x^4-1);
(%o19) [x=%i,x=-1,x=-%i,x=1]

How do I process a into a list b : [%i,-1,-%i,1] so I can say

  for x in b do something(x);  

???