Don't use -map for side-effects

Use `-each` to invoke side effects for list elements.  Avoids the superfluous construction of a return list.
Merge branch 'patch-1'