Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 27, 2019 17:40
Show Gist options
  • Save Whateverable/b7d0cf9d96bfa3d18e7143ca6268fc21 to your computer and use it in GitHub Desktop.
Save Whateverable/b7d0cf9d96bfa3d18e7143ca6268fc21 to your computer and use it in GitHub Desktop.
evalable6
my %h = (:a<1 2 3>, :b<4 5 6>, :c<7 8>); say gather for %h.kv -> ($key, @value ) { for @value -> $v { take $key, $v } }
(exit code 1)
Cannot unpack or Capture `c`.
To create a Capture, add parentheses: \(...)
If unpacking in a signature, perhaps you needlessly used parentheses? -> ($x) {} vs. -> $x {}
or missed `:` in signature unpacking? -> &c:(Int) {}
in code at /tmp/vICF3RCkdn line 1
in block <unit> at /tmp/vICF3RCkdn line 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment