For loop functionals: friends of `lapply()`