Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created June 10, 2019 04:18
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Whateverable/bda2f70fd7e05669c74143942c35d187 to your computer and use it in GitHub Desktop.
evalable6
my @a = 'a'..'g'; @a = @a Z Pair.new('whee', True) xx @a.elems; sub sayLetter ($a, :$whee) { say "$a,$whee" }; @a.race.map({ sayLetter(|$_) })
(exit code 1)
A worker in a parallel iteration (hyper or race) initiated here:
in block <unit> at /tmp/sbGcpHTCja line 1
Died at:
Too many positionals passed; expected 1 argument but got 2
in sub sayLetter at /tmp/sbGcpHTCja line 1
in block at /tmp/sbGcpHTCja line 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment