Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created June 10, 2019 04:14
Show Gist options
  • Save Whateverable/e2d810b541d58bdece1cfba3e5f00760 to your computer and use it in GitHub Desktop.
Save Whateverable/e2d810b541d58bdece1cfba3e5f00760 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,$b" }; @a.race.map({ sayLetter(|$_) })
(exit code 1)
===SORRY!=== Error while compiling /tmp/Tut0qnlMja
Variable '$b' is not declared
at /tmp/Tut0qnlMja:1
------> s; sub sayLetter ($a, :$whee) { say "$a,⏏$b" }; @a.race.map({ sayLetter(|$_) })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment