"Then we simply claim that, under multiple dispatch, the "long name" of
any multi routine includes its signature, and that visibility is based on
the long name." (paragraph 3, "Multiple Dispatch")

Is a routine's "returns" trait also included in a multi routine's "long
name"?  That is, if I define

  multi method foo () returns scalar {...};
  multi method foo () returns list {...};
  multi method foo () returns hash {...};

would these be treated as three seperate routines, or as conflicting
declarations of the same one?  

=====
Jonathan "Dataweaver" Lang


        
                
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash

Reply via email to