Last active
August 29, 2015 14:23
-
-
Save ab5tract/9457079caa93244511b1 to your computer and use it in GitHub Desktop.
flattened-index
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 = 1 => [ [<what what>], [<how how>] ], 2 => [ [<this this>] ]; | |
my $i = 0; | |
my $size = [+] %h.values.map({ +@^a }); | |
(1..$size Z~ %h.values>>.map({ @($^a)})).say; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment