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@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to