Confusion about package import limitations #186
Unanswered
timothytmzhou
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have some confusion about the following line in the limitations section of the README:
This is probably a dumb question, but I don't understand what "importing a module from the current package" means. Specifically, when I look on the stackage documentation for
loadModules, I see this:My understanding from reading this is that the problem is specifically with
loadModules, notsetImports. In particular, if I never callloadModuleswill such issues be avoided entirely? More concretely: if a packagePcontains code that uses hint, and that code callssetImportson a module fromPbut never callsloadModules, is that still unsafe?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions