def METHOD_NAME(self, trees, reduce_function, *args, **kwargs):
    walked = [self.walk(item, *args, **kwargs) for item in trees.items]
    return lambda x: reduce_function(item(x) for item in walked)