Use `foreach` instead of `map` for side effects
Merge pull request #3 from tototoshi/feature/foreach-for-side-effects

Use `foreach` instead of `map` for side effects