|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH OSSTEST v1 5/5] mg-show-flight-runvars: recurse on buildjobs upon request
Ian Campbell writes ("Re: [PATCH OSSTEST v1 5/5] mg-show-flight-runvars:
recurse on buildjobs upon request"):
> ITIYM:
>
> foreach my $row (map { $_->[1] }
> sort { $a->[0] cmp $b->[0] }
> map { $xform->($_) }
> @rows) {
> ...
> }
>
> Since doing the xform-> in the sort defeats the purpose (or I don't
> properly understand the Schwartzian transform)
Yes. Actually, if you do that then you don't need to break out
$xform->(). Sorry, my previous message said `Schwartzian transform'
but uses a slightly different (and arguably inferior) idiom.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |