Optional parameters: Difference between revisions
Content added Content deleted
(Slate skeleton implementation, about to complete) |
(Slate implementation) |
||
Line 360: | Line 360: | ||
sortBlock `defaultsTo: [| :a :b | (a lexicographicallyCompare: b) isNegative]. |
sortBlock `defaultsTo: [| :a :b | (a lexicographicallyCompare: b) isNegative]. |
||
reverse `defaultsTo: False. |
reverse `defaultsTo: False. |
||
reverse ifTrue: [sortBlock: [| :a :b | (sortBlock applyTo: {a. b}) not]]. |
|||
... |
|||
s sortBy: [| :a :b | sortBlock applyTo: {a at: column. b at: column}] |
|||
]. |
]. |
||
</lang> |
</lang> |