On 11/13/2009 10:54 AM, Thomas Bushnell BSG wrote:
So "passing" an arity check doesn't mean that the number of arguments you pass is correct, as Dybvig's already noted. Also, "failing" an arity check doesn't mean that you will get any kind of error or exception as a result.
Arity is useful as *part of* an implemention's error-handling. I.e. first you check if there are too few or too many arguments, and *then* check the argument types. -- --Per Bothner per@xxxxxxxxxxx http://per.bothner.com/