On Tue, Mar 20, 2001 at 11:15:51PM -0500, John Porter wrote:
> @s = schwartzian(
> {
> second_map => sub { $_->[0] },
> the_sort=> sub { $a->[1] <=> $b->[1] },
> first_map => sub { [ $_, /num:(\d+)/ ] },
> },
> @t );
Hm. I'd rather see:
schwartzian({/num:(\d
> "JP" == John Porter <[EMAIL PROTECTED]> writes:
JP> Is that really an improvement?
JP> Every programmer understands right-to-left data flow when it's
JP> written with parentheses. Perl novices just need to understand
JP> that
JP> map { & } sort { & } map { & } @
JP> is a mer
Adam Turoff wrote:
> This message is not an RFC, nor is it an intent to add a feature
> to Perl or specify a syntax for that feature[*].
Yay.
> We're all for making easy things easy, but the complexities of
> "map {} sort {} map {} @list" has always been befuddling to newbies,
> especially w
A very good non-programmer friend of mine just read yet another
discussion on the Schwartzian Transform, and had this to say:
> So, having just plowed through more than I ever wanted to about
> the Schwartzian Transform:
>
> Is there some way to hard-code this into Perl6? Seems like it
> would