<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hey everyone, I'm a bit new to scheme and I'm looking for some help. Hopefully you guys can assist me. I was given these few questions and I have no clue where to start. So if anyone could answer them they would be of much help. Thanks.<br><br>Consider the following functions:<br><br>(define get-evens<br> (lambda (lst)<br> (cond ((null? lst) '())<br> ((even? (car lst)) (cons (car lst) (get-evens (cdr lst))))<br> (else (get-evens (cdr lst))))))<br><br>(define get-odds<br>
(lambda (lst)<br>
(cond ((null? lst) '())<br>
((odd? (car lst)) (cons (car lst) (get-odds (cdr lst))))<br>
(else (get-odds (cdr lst))))))<br><br>(define get>2<br> (lambda (lst)<br>
(cond ((null? lst) '())<br> ((> (car lst) 2) (cons (car lst) (get>2 (cdr lst))))<br> (else (get>2 (cdr lst))))))<br><br>1. Write another function that accepts a test as one of its arguments, and which can then behave like each of the above functions. Starting with:<br><br> (define extract<br> (lambda (test? lst)<br><br><br>2. Use extract to define get-evens, get-odds, and get>2<br><br></td></tr></table><br>