Closed lynn closed 8 years ago
Þ takes a link f and returns a new monadic link that performs a stable sort using monadic application of f as key. For example, LÞ sorts a list by length (ascending):
Þ
LÞ
“this is a new sorting hyper”ṣ⁶LÞj⁶
prints
a is new this hyper sorting
Dennis said:
Speaking of quicks, I'll take a look at your sort-by later. I want to turn it into a quick and let it take niladic and dyadic links as well.
Þ
takes a link f and returns a new monadic link that performs a stable sort using monadic application of f as key. For example,LÞ
sorts a list by length (ascending):prints