Reputation: 111
I need helpwriting a scheme procedure that takes two lists as inputs and the outputs an indication as to whether list2 is less than list1.
(define (analyze list1 list2
Upvotes: 1
Views: 149
Reputation: 23764
Definition:
(define (analyze list1 list2)
(< (length list1) (length list2)))
Usage:
(analyze (list 1) (list 2 3)) -> #t
Upvotes: 1