summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/scatter-gather.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/scatter-gather.scm b/doc/scatter-gather.scm
new file mode 100644
index 0000000..7ab60d4
--- /dev/null
+++ b/doc/scatter-gather.scm
@@ -0,0 +1,8 @@
+(define print
+ (command #:inputs (message #:type string) (other-message #:type string)
+ #:run "echo" message other-message
+ #:outputs (printed-output #:type stdout)))
+
+(workflow ((message #:type string) (other-messages #:type (array string)))
+ (scatter (print #:message message)
+ #:other-message other-messages))