[Bug 14916] WebIDL has no function type

https://www.w3.org/Bugs/Public/show_bug.cgi?id=14916

Aryeh Gregor <ayg@aryeh.name> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #4 from Aryeh Gregor <ayg@aryeh.name> 2011-12-28 16:34:21 UTC ---
That seems okay to me.  I don't think we need a special "function" type,
because in fact most of the users of Function in HTML should get a callback
with a specific signature, not just any old function.

(It seems to make no actual difference what the signature for the callback is,
except that it theoretically guarantees the type of the parameters and puts
some constraints on how some return values will behave.  But it's still handy
as documentation.)

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Wednesday, 28 December 2011 16:34:23 UTC