Arc Forum
new
|
comments
|
leaders
|
submit
login
1 point
by
akkartik
5405 days ago |
link
|
parent
"Hmm, doesn't each return the entire list that was being iterated over?"
"No:"
Ah, I wasn't going crazy after all!
arc> (each (a b) (obj 1 2 3 4) a) #hash((3 . 4) (1 . 2))
So
each
returns the iteratee when it's a table. Looking at the source it's just outsourcing tables to maptable. I'm going to change it to return nil.