Concurrent computing: Difference between revisions

m
Updated code to match task, removed output as defined by task.
m (Updated code to match task, removed output as defined by task.)
m (Updated code to match task, removed output as defined by task.)
Line 1,447:
(formerly Perl 6)
{{works with|Rakudo|2018.9}}
<lang perl6>my @words = <EnjoyA RosettaB CodeC>;
@words.race(:batch(1)).map: { sleep rand; say $_ };</lang>
{{out}}
<pre>Code
Rosetta
Enjoy</pre>
 
=={{header|Raven}}==