If I have a list of 0’s, how would I modify, for example, the 16th 0 in the list?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You have to write it yourself. It is not built in to Scheme because it’s not idiomatic and it can be built easily from
set-car!.If you are doing this a lot, you should probably look at using vectors and
vector-set!instead.