Given a list, (define ll \'(a a a b c c c d e e e e)) I want to remove all non-duplicate elements and leave only one copy of the duplicate one, i.e. after removing, the result would be
In C and C++, the ! negates the result: if( !( a == b ) ) In S开发者_JAVA百科cheme, I found only eq?. How do I say \"not equal\"? Or we have to explicitly say
I wrote this program: (define find-combination {lambda (a b) (if (eq? ((quotient (car a) (car b)) (quotient (car (cdr a)) (car (cdr b)))))
I have a problem in my program. I have a condition that compare between 2 string:开发者_如何学Go
In the next code (if (exp1) (Do1) (Do2)) (Do1) is happening when exp1 is 开发者_如何学编程true. My problem that I want to do two things if the condition is true. meaning - I want to add a link to l
Can anyone clarify what this error means? cadr: expects argument of type <cadrable value开发者_开发问答>; given (1)
i am new at scheme and at this site. i write a scode like (define function (lambda (liste) (do ((k 0 (+ k 1))) ((> k 3))
Obviously, that will depend on what you want to do: numerical analysis, threading, databases, etc. I\'ve seen the benchmarks; Larceny and Bigloo seem to come u开发者_如何学运维p ahead. Is there any im
I\'m trying to evaluate an expression开发者_如何学C tree. Here is my code: (define (eval-tree expr-tree)
I know that both Eiffel (the progenitor) and Racket both to implement \"Design by Contract\" features.Sadly, I am not sure how one would different from the other.Eiffel\'s DBC is reliant on the OOP pa