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

Re: PATCH: Add :^ syntax for zipping two arrays (v2)



On Mon, 04 Aug 2014 18:01:51 +0200
Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> 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.

As long as it's documented that's what it does (and if it's likely to
change at some point that should be documented, too) it doesn't seem a
fatal problem.

pws




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