Hello. Is there way to specify the 'default' name of functor? For example we have functor
|
functor export append:Append
 sort:Sort
 member:Member
... define proc {Append ... } ... end proc {MergeSort ...} ... end proc {Sort ... } ... {MergeSort ...} ... end proc {Member ...} ... end end
||
and it import in other module under name 'List':

declare [List]= {Module.link ['/home/xxx/list.ozf']}|||

I want declare functor as:

|functor List
...

and then use it with this name without specify the alias:

||declare '/home/xxx/list.ozf'
||
In other world I want specify the module name. It is very natural (most languages use such module system) and easy for use.

PS The ideal for me use modules in traditional approach - specify the module name in import declaration, without specifying path to file:

import List
...

but there no information about this in documentation.
|
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to