Stream: bugs

Topic: Expose module in subdirectory from a package


view this post on Zulip Kilian Vounckx (Nov 25 2026 at 10:10):

Reading through the module docs, I found that you can import modules in subdirectories as follows: import Foo/Bar. I was trying to make a package which exposes such a subdirectory module, but package [Foo/Bar] {} does not compile. Is this on purpose, or did I miss something?

view this post on Zulip Luke Boswell (Nov 25 2026 at 10:43):

You import Foo/Bar then you can package [Bar ]

view this post on Zulip Kilian Vounckx (Nov 25 2026 at 10:44):

I see, so no direct way to expose subdirectory modules?
Your way works too, just checking if it could be done


Last updated: Nov 26 2026 at 20:35 UTC