Anonymous user
Sorting algorithms/Sleep sort: Difference between revisions
m
Use the new(-ish) raku binary in second Raku example
(Add additional Go implementation using WaitGroups instead of channels) |
m (Use the new(-ish) raku binary in second Raku example) |
||
Line 1,582:
This can also be written using reactive programming:
<lang perl6>#!/usr/bin/env
use v6;
react whenever Supply.from-list(@*ARGS).start({ .&sleep // +$_ }).flat { .say }</lang>
|