Created
January 17, 2020 18:23
-
-
Save Whateverable/090550eeb6f175000d3f2c120a97aa85 to your computer and use it in GitHub Desktop.
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 @a=^10;@a.kv.map(->$idx,$val{for @[$idx .. *] -> $b {if {$val==$b}{last;}LAST{say $val~","~$b}}}) |
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!=== | |
Shape declaration is not yet implemented; please use whitespace if you meant something else | |
at /tmp/gzGrtF61Tq:1 | |
------> my @a=^10;@a.kv.map(->$idx,$val⏏{for @[$idx .. *] -> $b {if {$val==$b}{l | |
Variable '$val' is not declared. Did you mean '&val'? | |
at /tmp/gzGrtF61Tq:1 | |
------> ->$idx,$val{for @[$idx .. *] -> $b {if {⏏$val==$b}{last;}LAST{say $val~","~$b}}}) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment