Jump to content

Same fringe: Difference between revisions

→‎{{header|Scheme}}: bug -- reorder avoids (car '()) when trees differ only in length
(→‎{{header|Scheme}}: reword & example)
(→‎{{header|Scheme}}: bug -- reorder avoids (car '()) when trees differ only in length)
Line 1,801:
(cond
((and (null? l1) (null? l2)) #t)
((eq?or (entry (carnull? l1)) (entry (car l2)))
(next (ascend l1) (ascendnull? l2)))
(not (eq? (entry (elsecar #fl1)) (entry (car l2))</lang>))) #f)
(else (next (ascend l1) (ascend l2))))))</lang>
 
{{out}}
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.