Jon Lang wrote:
> Right.  Still, there are times when duck-typing, flawed as it is,
> might be exactly what is needed to resolve the problem at hand.  I
> forget who or in what context, but I vaguely recall someone posting an
> article here that proposed the use of £ in signatures as a modifier to
> mean "is like a" (i.e., accept anything that matches the given role's
> set of methods; duck-typing) rather than "is a" or "does" (which,
> respectively, check for inheritance or composition).  (Could the
> original poster please repost the link here for reference purposes?)

Found it: http://www.dlugosz.com/Perl6/polymorphism.pdf

-- 
Jonathan "Dataweaver" Lang

Reply via email to