Seems pretty annoying for the one, three, four, etc arg for a to mean one thing and the two arg form to mean something else.
> On Oct 21, 2014, at 1:36 PM, Steven G. Johnson <[email protected]> wrote: > > > >> On Tuesday, October 21, 2014 11:24:32 AM UTC-4, Stefan Karpinski wrote: >> I wonder if we should just define >> >> hash(x::Any, ys::Any...) = hash(x, hash(ys...)) >> >> so that you can write hash(x.h, x.J, x.properties) for this. The danger is >> that the two-argument form where the second argument happens to be a Uint >> already means something particular, but that may be ok (I'm not sure). > > You could define hash(x,y,z...) = hash(x, hash(y, z...)) so that the > 2-argument form is not changed.
