[Prev][Next][Index][Thread]
Re: function signature type checking
-
To: info-dylan@ai.mit.edu
-
Subject: Re: function signature type checking
-
From: Bruce Hoult <bruce@hoult.org>
-
Date: Mon, 26 Nov 2001 15:15:02 -0500 (EST)
-
Organization: TelstraSaturn
-
References: <uy9kto2dr.fsf@telus.net>
-
User-Agent: MT-NewsWatcher/3.0 (PPC)
-
Xref: traf.lcs.mit.edu comp.lang.dylan:13791
In article <uy9kto2dr.fsf@telus.net>, Ray Blaak <blaak@telus.net>
wrote:
> I am just learning Dylan, and have a question about the type checking of
> functional parameters and results.
Can't be done at the moment, unfortunately. I consider this a hole in
Dylan.
The compiler obviously deals with function signature information, and
uses it to optimize calls, but it only works if the compiler can see
both the function definition and the use of it. There is curently no
way for the user to give the compiler that information.
This has long seemed to me to be one of the more important language
extensions needed.
-- Bruce
Follow-Ups:
References: