This is why I appreciate YHacker News: Don't know when I would have run across this otherwise.
Futher comment shall wait until after my first hand dabbling in a new approach: In my next non-mission-critical PHP web hobbyist app.
Futher comment shall wait until after my first hand dabbling in a new approach: In my next non-mission-critical PHP web hobbyist app.
How come? I must have missed the memo...
map = lambda f, a: [f(x) for x in a]
filter = lambda f, a: [x for x in a if f(x)]