Skip to content

Instantly share code, notes, and snippets.

@lizmat
Created May 12, 2021 10:23
map inner map doesn't map
my %h;
%h<n1> := { a => 42 }
%h<n2> := { b => 666 }
my @n = <n1 n2>;
my @d = <a b>;
if %h{@n} -> @dh {
dd @dh;
@d.map: -> $d {
dd $d;
dd @n;
@n.map: { die $_ }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment