| KW.pm | The Schwartzian Transform | #2 |
|
Here is the Schwartzian Transform (commonest form)
@data_out =
map { $_->[1] }
sort { $a->[0] cmp $b->[0] }
map { [func($_), $_] } @data_in;
|
| << Previous | Index | Next >> | Copyright © 2003 Daniel Allen |