in problem 1 , wrong answer when #lang racket(define (loop) (let ((n (read))) (unless (= n 42) (displayln n) (loop))))but not(define (loop) (let ((n (read))) (unless (= n 42) (displayln n) (loop))))
#lang racket
(define (loop) (let ((n (read))) (unless (= n 42) (displayln n) (loop))))
I bumped into that problem too. Maybe #lang racket is predefined line for Racket compiler, and we don’t have to worry about it. It’s not a big deal to ommit first line.