Type Annotations ?
David Teller
David.Teller at univ-orleans.fr
Wed Oct 3 08:09:29 PDT 2007
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
More information about the Es4-discuss
mailing list