Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: array prepend



On Sat, 12 Jan 2013 02:38:13 +0100
Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
> If you dig out the mailing list discussion from when += was added you'll
> see that the main reason there isn't a prepend is that we couldn't think
> of suitable syntax that would be backward compatible. -= for example
> isn't possible because a - character is valid in an identifier.

I was thinking about /=.  I started looking at it once but got bored
with all the varieties of parameter type.

-- 
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/



Messages sorted by: Reverse Date, Date, Thread, Author