Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created January 16, 2020 17:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/4606ae9546dd814c93e49b9a8b33ca79 to your computer and use it in GitHub Desktop.
Save Whateverable/4606ae9546dd814c93e49b9a8b33ca79 to your computer and use it in GitHub Desktop.
evalable6
my @a = [1,2,3,4,5];@a.map(->$b{if {$b==3} {say "I want to stop"}})
(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