OpenRA style would be to use `Utils.Do(waypoints, function(wpt) ...` instead.