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

Re: (1,(2,3),4)[2]

Thread Previous | Thread Next
May 27, 2005 07:36
Re: (1,(2,3),4)[2]
Message ID:
Juerd wrote:
> And, assigning to a reference is impossible, as a reference is a VALUE,
> not a VARIABLE (container).

What should hinder &infix:{'='}:(Ref, Int: --> Int) to exist and be
usefull at least if the Ref is known to something that derefs it
and then finds the new referee? On the Perl6 language level references
are a means to share values. Don't mix that with the implementation
level references---which should be called pointers---that allow an
efficient implementation of handling heavyweight data.
TSa (Thomas SandlaƟ)

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About