Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created November 20, 2018 19:07
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/1a0434e4cd9f81066bbed9da937bb071 to your computer and use it in GitHub Desktop.
Save Whateverable/1a0434e4cd9f81066bbed9da937bb071 to your computer and use it in GitHub Desktop.
evalable6
my @a = [(1, ((2), (3)))]; say @a.deepmap(sub $_ { return $_ if not .Int %% 2 });
(exit code 1)
===SORRY!=== Error while compiling /tmp/8z7_1Yj0A0
Missing block
at /tmp/8z7_1Yj0A0:1
------> = [(1, ((2), (3)))]; say @a.deepmap(sub⏏ $_ { return $_ if not .Int %% 2 });
expecting any of:
new name to be defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment