The directives open, inherit and use will soon be
processed in order of writing within a module. For example:

//////////////////////////////////////
#import <flx.flxh>

module X {
  module Y { fun f:int->int="$1"; }
}

open X;
open Y;

print$ f 1; endl;
///////////////////////////////////

will now work. This means fully qualified names are no longer
required in the arguments to 'open', for example:

module MyType { typedef mytype=int; }
open MyType;
open Stl;
open Vector[mytype];

should work, rather than 

open Stl::Vector[MyType::mytype];

which was required previously.

Note carefully the order of writing sequence is only assured
*within* a module or other scope. It is not clear if directives
in a parent module are processed before those in a child,
because, for example, the parent can OPEN a child module.
This may introduce ambiguities that couldn't exist before --
if necessary revert to fully qualified names :)


-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to