The == operator demands scalar context of its arguments. The comma in scalar context returns the rightmost argument. So the comma didn't make a list, but evaluated the stuff for side effects and kept the last (single) value only.
Look at mapcar to iterate the two lists in tandum.
In reply to Re: How to compare arrays? (xmms alarm clock)
by John M. Dlugosz
in thread How to compare arrays? (xmms alarm clock)
by ginseng
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |