diff options
author | Arun Isaac | 2023-11-14 23:23:57 +0000 |
---|---|---|
committer | Arun Isaac | 2023-11-14 23:23:57 +0000 |
commit | 7d1cc9b535afeb6021bec83b3220928998361528 (patch) | |
tree | 8f7484e3497e8f38f5f2fe7ce1ea0f7fd1c9ae58 | |
parent | 060ddf677d01e408c7a49791150bfd24b76416e0 (diff) | |
download | ccwl-7d1cc9b535afeb6021bec83b3220928998361528.tar.gz ccwl-7d1cc9b535afeb6021bec83b3220928998361528.tar.lz ccwl-7d1cc9b535afeb6021bec83b3220928998361528.zip |
doc: Add scatter-gather snippet.
I forgot to add this file in my previous commit.
* doc/scatter-gather.scm: New file.
-rw-r--r-- | doc/scatter-gather.scm | 8 |
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)) |