Replies: 1 comment
-
Maybe |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a canonical way to define a library/module globally? For instance, if I'm writing a library for GUI programming, then I'd want to use it both for my new text editor and new web browser - preferably by just referring to it by a global name, rather than having to know where it's installed on my system.
I apologize if this has already been answered/documented elsewhere, but I can't find it. The source of the module loading system seems to only look at relative paths (https://github.com/mthom/scryer-prolog/blob/master/src/machine/load_state.rs#L1134), or a set of libraries built into the executable itself.
Beta Was this translation helpful? Give feedback.
All reactions