Scheme how to compare lists

Started by
3 comments, last by Emergent 13 years, 7 months ago
I have 2 lists and I want to find if the seond list has symbols that first list has in it. How can I do this?
Advertisement
What have you tried?
C++? The STL has set classes that include intersection, etc operators. You'll need to overload the inequality operators for the things you're comparing.
Quote:Original post by Emergent
C++?

Scheme is a Lisp-like language.
Quote:Original post by rip-off
Scheme is a Lisp-like language.


LOL! Of course! Yes, I've programmed in Scheme. I read the title as "A scheme to compare two lists" with the English dictionary definition of "scheme."

If he's writing in Scheme, then this is almost certainly a school assignment -- which is fine -- but in that case I'll go with SiCrane and wait to see what he's done so far.

This topic is closed to new replies.

Advertisement