-
-
Save jnthn/655709 to your computer and use it in GitHub Desktop.
code
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
proto wow($x) { | |
say("in proto"); | |
return { say("in closure"); {*} } | |
} | |
multi wow($x) { say($x) } | |
my $c := wow("in multi"); | |
say("back from proto"); | |
$c(); |
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
in proto | |
back from proto | |
in closure | |
in multi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment