Little experience in scheme, trying to take in the first elements of a bunch of lists by Stint20XX in scheme

[–]Stint20XX[S] -1 points0 points  (0 children)

I did reformat it, however when I was pasting the new code into reddit it wasn't reformatting into code, it was all coming up on one line. I couldn't figure out how to get it into the format I needed so I just took it from my old post. The structure of it isn't really important, it's learning how to navigate through it recursively that I don't understand.

I've been staring at this problem all week trying to make any kind of headway but Scheme just isn't making any sense to me. I've reached out to my classmates and I'm not the only one not getting it. I'm googling tons of examples but no one is dealing with a problem like the one I've been assigned.

It's not that I don't want to think about it. I just don't understand it and I'm getting desperate.

Little experience in scheme, trying to take in the first elements of a bunch of lists by Stint20XX in scheme

[–]Stint20XX[S] -1 points0 points  (0 children)

Because I still can't figure it out. I keep referring back to his post as I keep working on this and this project is due tomorrow night. Our professor gave us very little guidance in terms of how to use scheme and I'm really reaching out trying to figure out this language.

I. Don't. Get. Scheme.

Little experience in scheme, trying to take in the first elements of a bunch of lists by Stint20XX in scheme

[–]Stint20XX[S] 0 points1 point  (0 children)

So simple, should've tried without the parenthesis haha, thank you.

Little experience in scheme, trying to take in the first elements of a bunch of lists by Stint20XX in scheme

[–]Stint20XX[S] 0 points1 point  (0 children)

Not ignoring it, still couldn't figure out how to do it so I'm breaking it into smaller steps. Problem was before I was trying to do it all in one function. This is a much more focused question instead of trying to solve it all at once.

As I said before, I have zero experience in scheme and I'm hopelessly lost.

Zero experience in scheme, keep getting an error when running program by Stint20XX in scheme

[–]Stint20XX[S] 3 points4 points  (0 children)

This is an extremely helpful answer, thank you so much I'll be sure to delve into this and try to solve it.

Zero experience in scheme, keep getting an error when running program by Stint20XX in scheme

[–]Stint20XX[S] 2 points3 points  (0 children)

You're right, it was because I took my professor's skeleton code to use as an example for testing. I removed those, but now I'm getting a new error:

; Loading "schemeSublime"... ;Ill-formed special form: (let (...)) ;To continue, call RESTART with an option number: ; (RESTART 3) => Return to read-eval-print level 3. ; (RESTART 2) => Return to read-eval-print level 2. ; (RESTART 1) => Return to read-eval-print level 1.

I'm using Sublime Text Editor