Christian Neukirchen wrote:

> Nikolai Weibull <mailing-lists.ruby-talk / rawuncut.elitemail.org> 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#<<?  It works fine, is unambiguous, and neither
> > the suggestions for Array#| nor that for Array#+ do anything that
> > Array#<< doesn't already.  Or am I missing something vital here?,

> << is destructive, + copies, | copies but doesn't add it if it's
> already in there.

Ah, of course; silly me.

> Still, I don't see what you are trying to say?

Huh?,
        nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}