Created
January 16, 2020 17:35
-
-
Save Whateverable/de06e769d960bf4ed7044f63c1caecd7 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({if *==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!=== Error while compiling /tmp/_o_8wW5i1l | |
Malformed double closure; WhateverCode is already a closure without curlies, so either remove the curlies or use valid parameter syntax instead of * | |
at /tmp/_o_8wW5i1l:1 | |
------> ;@a.map({if *==3 {say "I want to stop"}}⏏) | |
expecting any of: | |
horizontal whitespace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment