Last active
September 23, 2016 22:36
-
-
Save ahalbert/0fe8a2eb0cddd1c049214a27d8559f3c to your computer and use it in GitHub Desktop.
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
multi sub formatted($node, ()) { $node; } | |
multi sub formatted($node, List @codes) { | |
@codes.head ~ formatted(@codes[1..*-1]); | |
} | |
say formatted "END", ('A', 'B', 'C'); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment