nicer *_foreach(...) macros