Agreed ... OPs question
Yes, the original is canonical ST, there is no disputing that (you answered correctly)
But your shortening (somewhat summarized for brevity ) to @out = map {} sort {} map {} @in is definitely not the canonical Schwartzian Transform
because the essence of ST is not the pipeline, pipeline is regular usage of map/grep, its even present in GRT. The essence of ST, the trick of it, the rule of it , [ is the caching ] .
If you replace the essence with {BLOCK} its unrecognizable, might as well call it transform / sort / transform -- nothing Schwartzian about it :) and not very descriptive, unlike decorate-sort-undecorate which describes both ST and GRT
In reply to Re^8: Understanding the Schwartzian transform. (cache expensive transform, decorate-sort-undecorate )
by Anonymous Monk
in thread Understanding the Schwartzian transform.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |