Das Fenster sagt, es ist ein Fehler auf dem letzten Teil, wo es heißt (...(count-even-strings (rest alist)))
sagen, dass es auf Extrateil gefunden, aber ich weiß nur nicht, wie es zu beheben.Syntax Fehler in Dr. Racket
;; consumes a list of strings, list, and produces the number of strings in list that have an even length
(define (count-even-strings alist)
(cond
[(empty? alist) 0]
[else (+ (cond [(even? (string-length (first alist))) true]) 1)]
[else 0]) (count-even-strings (rest alist)))