Last active
October 5, 2015 21:28
-
-
Save ab5tract/18b95160763bf901c74e 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
module Chance { | |
my @faces = '⚀', '⚁', '⚂', '⚃', '⚄', '⚅'; | |
sub term:<¿>() is export(:golf) { @faces.roll } | |
sub chance() is export { ¿ } | |
} | |
import Chance; | |
say chance; | |
import Chance :golf; | |
say ¿ xx 42; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment