Re: Generalizing value property setting to become postits

2001-07-08 Thread Damian Conway
> > Me: > [$foo is bar] can change the value of $foo. > > > Damian: > Yes. For example: > my $foo is persistent; > > Could you explain this further please? The programmer has specified a property named 'persistent'. The programmer has marked the

Re: Generalizing value property setting to become postits

2001-07-05 Thread Me
> > What I was suggesting was to consider broadening what the > > $foo : bar style postfix sub syntax allows/assists bar to do, > > so that bars can be used to set properties OR do other stuff. > > > What's the practical utility of this? 1. Simplification for perl 6 implementation. I would expec

Re: Generalizing value property setting to become postits

2001-07-04 Thread Jeremy Howard
> What I was suggesting was to consider broadening what the > $foo : bar style postfix sub syntax allows/assists bar to do, > so that bars can be used to set properties OR do other stuff. > What's the practical utility of this? This discussion has been pretty abstract so far... It's easy to see ho

Re: Generalizing value property setting to become postits

2001-07-04 Thread Me
> Me: [$foo is bar] can change the value of $foo. > Damian: Yes. For example: my $foo is persistent; Could you explain this further please? > Me: $foo : bar baz is roughly equivalent to baz(bar($foo)) > Damian: Err. No. That would be: