develooper Front page | perl.perl6.language | Postings from May 2008

Re: First look: Advanced Polymorphism whitepaper

Thread Previous | Thread Next
From:
Larry Wall
Date:
May 2, 2008 12:49
Subject:
Re: First look: Advanced Polymorphism whitepaper
Message ID:
20080502194843.GA8325@wall.org
On Fri, May 02, 2008 at 12:21:27PM -0700, chromatic wrote:
: On Friday 02 May 2008 11:55:54 Larry Wall wrote:
: > The only interesting question in my mind is whether you can take
: > another snapshot and override the previous one somehow, or whether
: > such derived roles should version themselves so that the snapshots
: > can be distinguished by longname.  Alternately, we make one snapshot
: > when a class is first composed, and refuse to make any other snapshots
: > for that name regardless of how the class under that name changes.
: 
: I'm not sure which is best.  Snapshotting at the time of first composition (or 
: the first time someone says "Hey, I provide that other class's role!") seems 
: right though.

Or maybe a class is just a role that's been ORKED with a COW bit.

Larry

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About