Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 27, 2019 17:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/a3c77b6f295840fd8e844d0a34ce439e to your computer and use it in GitHub Desktop.
Save Whateverable/a3c77b6f295840fd8e844d0a34ce439e to your computer and use it in GitHub Desktop.
evalable6
my %h = (:a<1 2 3>, :b<4 5 6>, :c<7 8>); %h.duckmap( { $_.key X @{$_.values} } ).say
(exit code 1)
===SORRY!=== Error while compiling /tmp/7vUaOUWcO0
Unsupported use of @{$_.values}; in Perl 6 please use @($_.values) for hard ref or @::($_.values) for symbolic ref
at /tmp/7vUaOUWcO0:1
------> 8>); %h.duckmap( { $_.key X @{$_.values}⏏ } ).say
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment