Question: Make a function in scheme that takes a number and a list as a parameter that uses cdr to give back a list from the

Make a function in scheme that takes a number and a list as a parameter that uses cdr to give back a list from the given position including the number at the position specified.

example: (make-the-function 4 '(x y z a b c)) will return (a b c)

if the number given is larger than the list size return #f.

Again the language is SCHEME please do not respond re asking for the language or using the wrong language.

thank you!!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!