aboutsummaryrefslogtreecommitdiff
path: root/mammoth/results.py
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth/results.py')
-rw-r--r--mammoth/results.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/mammoth/results.py b/mammoth/results.py
index b4bedbd..9112296 100644
--- a/mammoth/results.py
+++ b/mammoth/results.py
@@ -34,3 +34,7 @@ def combine(results):
messages.append(message)
return Result(values, messages)
+
+
+def map(func, *args):
+ return combine(args).map(lambda values: func(*values))