Skip to content

Instantly share code, notes, and snippets.

@grondilu
Last active December 25, 2015 02:29
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 grondilu/6903405 to your computer and use it in GitHub Desktop.
Save grondilu/6903405 to your computer and use it in GitHub Desktop.
use MONKEY_TYPING;
augment class Pair {
method traverse () {
self.key,
self.value ~~ Pair ??
self.value.traverse !! self.value;
}
}
my $list = [=>] 'Ⅰ' .. 'Ⅻ';
say $list.traverse.perl;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment