Cool. Thanks I'll check it out

James

At 15:55 25/08/2006, you wrote:

Well, haXe (http://haxe.org) has both class-based and "structural"
objects. You can describe types such as :

typedef Point = {
   var x : Int;
   var y : Int;
}

Then every object or class instance having "x" and "y" Int public fields
will be *automatically* of the type Point. Everything is strictly typed
thanks to type inference, and yet offer expressive power comparable to
dynamicly typed languages.

Nicolas
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to