Not one of my mine - just used the one the comes with Mozart. Ok, so I
take your suggestion and try:
declare
[Time] = {Module.link ["time.ozf"]}
And that works.
Thanks,
Chris Rathman
Raphael Collet wrote:
Chris Rathman wrote:
I can create and run the following code in a compiled file that
defines a function if I do an "import Time" operation. However, I'm
left wondering how to get the function to compile from the
interactive environment within emacs:
Is Time the corresponding module in Mozart, or is it your own module?
You can always import explicitly modules with the Module module:
%% in a functor
import Time at "blah.ozf"
%% in the OPI
declare
[Time] = {Module.link ["blah.ozf"]}
See the documentation of Module.
Cheers,
raph
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users