summaryrefslogtreecommitdiff
path: root/doc/scatter-gather.scm
blob: 7ab60d42ae25caebb5ade5d0b3f8421a7954672a (plain)
1
2
3
4
5
6
7
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))