A simplified implementation of map, filter, reduce, mergeAll, zip functions based on Action(s)