From: Austin Ziegler Date: 2003-03-22T00:14:31+09:00 Subject: Re: Proposal: new operator: '<-' (for assignments) On Fri, 21 Mar 2003 17:41:21 +0900, Phil Tomson wrote: > Austin Ziegler wrote: >> On Fri, 21 Mar 2003 11:20:27 +0900, Phil Tomson wrote: >> [request for new operator <-] >> Array, String, and Hash use #replace to do this. > Perhaps, but I'm looking for an operator because: > 1) it's shorter > 2) the intent of '<-' is pretty clear (in fact it's often used for > this in pseudocode) I don't think that it's clear; I use <- in pseudocode to represent assignment, not replacement. If your class doesn't need <=, you could redefine that, though you'll get a "void context" warning. -austin -- Austin Ziegler, austin@halostatue.ca on 2003.03.21 at 10:12:18