in reply to Re: DWIM Part Nineteen: Unary Operators in Void Context
in thread DWIM Part Nineteen: Unary Operators in Void Context

I think that what you want is called setf() in Common Lisp. Maybe this could give some implementation ideas?

Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com

  • Comment on Re: Re: DWIM Part Nineteen: Unary Operators in Void Context

Replies are listed 'Best First'.
Re: Re: Re: DWIM Part Nineteen: Unary Operators in Void Context
by John M. Dlugosz (Monsignor) on Aug 22, 2001 at 00:22 UTC
    No, I think setf is just plain assignment. The "place" is not special to the "new value" expression.

    I wonder if the "higher level functions" features in Perl 6 can be used to create this. That would be a good test to see if the proposed feature set is powerful enough.

    —John