so Im learning opa in my free time, and I have a question regarding packages/imports.
so Im declaring a few modules, in different files
package_a with module_A - in file1.opa
package_a with module_B - in file1.opa
package_b with module_C - in file2.opa
Which command line syntax (or sequence of commands) would I use to compile this project, if file1.opa is the main file? "opa file1.opa" (directly without using 'make').
If file1 uses module_C from file2.opa, how would I import it? "import module_C.package_b"? Once imported, I can call its members "package_b.member1()" from within file1.opa? (this doesnt seem to work).
interestingly I've been looking for documentation on this online, but its nowhere to be found. The new Opa book too has no answers. I want to know how to do this without using the 'make' facilities, instead do it by hand. This way I can integrated Opa more cleanly into my build system.
I appreciate any guidance :), thank you