Simplify eachApply() via a smarter each()