Created
April 9, 2016 19:33
-
-
Save zoffixznet/df2899a4d0822de27a209d0592eb7b60 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for ^100 .rotor: 30, :partial -> $batch { | |
my $answer = await start { | |
$batch.say; | |
sleep 1; | |
my $r = rand; | |
$r > 0.5 ?? $r !! False; | |
}; | |
next unless $answer; | |
say $answer; | |
last; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment