Created
May 12, 2021 10:23
-
-
Save lizmat/c165bb0cbf9d4af25499ce767486093d to your computer and use it in GitHub Desktop.
map inner map doesn't map
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; | |
%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