Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 783 Bytes

c_for_each.md

File metadata and controls

32 lines (23 loc) · 783 Bytes

c-for-each

Concurrent "for-each", launches a concurrent branch for each elt or entry of the incoming collection.

c-for-each [ 'alice' 'bob' 'charly' ]
  def user \ task user 'contact customer group'
    #
    # is thus equivalent to
    #
task 'alice' 'contact customer group'
task 'bob' 'contact customer group'
task 'charly' 'contact customer group'

By default, the incoming f.ret collection is used:

[ 'alice' 'bob' 'charly' ]
c-for-each
  def user \ task user 'contact customer group'

see also

For-each, c-map, and c-each.