Order two numerical lists: Difference between revisions

(→‎{{header|Wart}}: Achievement unlocked: language design influenced by RS task.)
Line 983:
=={{header|Wart}}==
We'll simply overload <code>&lt;</code> for lists.
<prelang python>def (a < b) :case (or list?.a list?.b)
if not.b
nil
Line 991:
(cdr.a < cdr.b)
:else
(car.a < car.b)</prelang>
 
Output:
143

edits