Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
use v6.d;
use Transport {'WWW', :prefix<www->};
say www-get('');
use v6.d;
sub EXPORT(&args) {
my ($module-name, *%tags) = args;
my \module = (require ::($module-name));
my %exports = module.WHO<EXPORT>.WHO<DEFAULT>.WHO.&{.keys Z=> .values};
my %prefixed-exports = { .key.substr(0, 1) ~ %tags<prefix> ~ .key.substr(1..*) => .value };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment