The type annotations I have in mind would be related to side effects.
So, should I go for something like
function write_to_file(f : String /*file_name*/): void /*write f*/ {
...
}
?
Cheers,
David
On Wed, 2007-10-03 at 07:44 -0700, Lars T Hansen wrote:
> The ES4 syntax for type annotations is invariably a postfix ": type"
> phrase: put it on variable bindings, parameters, functions (following
> the parameter list).
--
David Teller ------------------------------------------
Security of Distributed Systems -----------------------
-- http://www.univ-orleans.fr/lifo/Members/David.Teller
----- Laboratoire d'Informatique Fondamentale d'Orleans
_______________________________________________
Es4-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es4-discuss