Created
January 16, 2020 17:36
-
-
Save Whateverable/4606ae9546dd814c93e49b9a8b33ca79 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 = [1,2,3,4,5];@a.map(->$b{if {$b==3} {say "I want to stop"}}) |
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/vI4La_SHj8:1 | |
------> my @a = [1,2,3,4,5];@a.map(->$b⏏{if {$b==3} {say "I want to stop"}}) | |
Variable '$b' is not declared | |
at /tmp/vI4La_SHj8:1 | |
------> my @a = [1,2,3,4,5];@a.map(->$b{if {⏏$b==3} {say "I want to stop"}}) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment