From: Christian Neukirchen Date: 2005-09-02T05:12:52+09:00 Subject: Re: [RCR] array or with non-array Nikolai Weibull writes: > Simon Strandgaard wrote: > >> Sometimes wish that [3, 5, 13] | [8] can be written as [3, 5, 13] | 8 >> that ary |= 42 would be possible. >> >> chris2 pointed out that it would be inconsistent with [1,2,3] + 4. >> maybe let + append 4 to the array? > > Sorry for such a late response, but I just had to ask: > > Why not just use Array#< the suggestions for Array#| nor that for Array#+ do anything that > Array#<< doesn't already. Or am I missing something vital here?, > nikolai << is destructive, + copies, | copies but doesn't add it if it's already in there. Still, I don't see what you are trying to say? > Nikolai Weibull -- Christian Neukirchen http://chneukirchen.org