> Great work Nicolas. I wonder, where your enormous productivity comes from.
> Really great.

Thanks.
I don't use steroids, just OCaml.

> After reading the specs, i have a couple of questions.
> 
> 1. type prints the type (to stdout?)
> This seems odd to me. I´d like a general purpose function like trace better
> and let type return a string, similar to typeof in as. Also the ever lasting
> problem of not being able to replace trace, which has nicely been handled by
> mtasc, should find a way into haxe.

Yes type(e) prints the type to stdout at compilation.
This is not useful for runtime infos.

Other "extended" features such as replacable trace and runtime type 
informations will be added, but later.

> 2.switch uses strong equality (===) in as, which one is used in haxe?

Good question. I think "normal" equality is enough, as the sample shows. 
It can still be optimized for physical equality in case for exemple we 
know the type is an integer.

Nicolas

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to