Suppose there are three projects A, B and C. The modules in C will be shared by A and B. Because there is no java’s CLASSPATH thing, then do we need to use absolute path when importing modules from C ?
Any suggestion is appreciated !
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The canonical way is to choose carefully where they should sit in the module hierarchy and make each project into a fully featured Cabal package, then install them locally so that they’re a part of the namespace for your compiler locally.
This way the modules of each are available to any source code you’re writing.
If (for example) you use the leksah IDE it’ll do a lot of the work for you.