Hi --

On Sat, 15 Dec 2001, Jim Freeze wrote:

> Hi:
>
> I am looking for an array function that will prepend the way
> concat appends. That is, concating an array places
> each element in the array, adding n elements, not 1
> element of type array.
>
> a=[3,4];b=[1,2]
> a.unshift b # = > [[1,2],3,4]
>
> I want
>  [1,2,3,4]
>
>
> and would prefer not to have to use flatten
> or collect and <<.

See other answers -- also you can do:

  a.unshift *b


David

-- 
David Alan Black
home: dblack / candle.superlink.net
work: blackdav / shu.edu
Web:  http://pirate.shu.edu/~blackdav