I'm just starting to write in scheme in DrRacket. However, like we all probably know, those small changes in syntax always mess us up!
I believe my error is in the and conditional. If someone could take a look and tell me what's wrong that would be great!
; in-range?: int int list of numbers --> boolean
(define in-range?
(lambda (a b s)
(cond [(null? s) #t] ;List is empty
[(null? a) #f]
[(null? b) #f]
[((and >= (car s)) ((a) <= (car s)) (b)) (in-range? (a) (b) (cdr s))]
[else #f]
)))