Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Add :^ syntax for zipping two arrays (v2)
- X-seq: zsh-workers 32947
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>
- Subject: Re: PATCH: Add :^ syntax for zipping two arrays (v2)
- Date: Mon, 4 Aug 2014 18:01:51 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=x6bnzCjY7PqTpw4HeMM4fUEOUO0a+D9nIjgchFq4c9g=; b=XmA48s1pRwbV61BQJPmH/Mc8wRSbbBw9PrQCGI60/2of7DmUfNP19qxyiBdwriqG8s FkK6tj0st/1CUN+ofLcoosZN8TG5ClDWNmOH2UWBN7yhFYYhWSA92jvjKdiBT9MwnZUV aaWLyJkjoKNXa5yzqxKGJHLjyy7jjDjMSHjelkthTnVmFWcjQLDhCE33E/fj+dhQSrGV pUrCquUfkf9VsobsrbsE8nI6v9p1nFPCx0phcCGPwKXuNkNOxnoYpBRjO5F9Y12mHcv0 jUqZ4vwws+2q8A92khQGdc77O7937+ITLY8R6OVxsEAqEDj7VQ2BAd048I+CRZ2TD0tY B2hg==
- In-reply-to: <20140804092900.5d44667a@pwslap01u.europe.root.pri>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1406908058-7730-1-git-send-email-mikachu@gmail.com> <20140804092900.5d44667a@pwslap01u.europe.root.pri>
On 4 August 2014 10:29, Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:
> On Fri, 01 Aug 2014 17:47:38 +0200
> Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>> Here's my current version with :^ and :^^ and using heap alloc
>> including hmkarray.
>
> Looks OK to me, if you want to commit it.
>
> pws
What about the issue with "${a:^a}" producing more than one argument?
Just to make sure you're okay with that and didn't just miss it in the
original mail. I'll also add some tests before committing.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author