Created
April 27, 2019 17:38
evalable6
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
my %h = (:a<1 2 3>, :b<4 5 6>, :c<7 8>); %h.duckmap( { $_.key X @{$_.values} } ).say |
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
(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