Skip to content

Instantly share code, notes, and snippets.

unit module FooBar;
sub bar is export { "bar" }
@mwienand
mwienand / Foo.pm6
Last active October 5, 2018 23:18
re-export p6
use FooBar;
module Foo {
sub foo is export { "foo" ~ bar() }
}
sub EXPORT {
FooBar::EXPORT::DEFAULT::
}