The Schwartzian transform is a general technique or pattern ...... you might wanna check on that ...
After looking at a bunch of Schwartzian Transforms, I must admit that they all seem to have sort stuck somewhere in the middle.
I think what was bouncing around in the back of my mind when I wrote that were echoes of two important design patterns: a series of list-consuming/-producing functions (which may or may not include sort!) that feed each other seriatim to produce a final output; and the notion of memoization. I'd have to say now that while the ST (or decorate-sort-undecorate, or whatever) embodies those two patterns and is an important sorting design pattern, it's certainly not a general design pattern (or technique, or whatever).
Give a man a fish: <%-{-{-{-<
In reply to Re^4: Sorting on identical values
by AnomalousMonk
in thread Sorting on identical values
by slugger415
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |