Fix typo in for_each_n's signature

Fixes #39