You are viewing a single comment's thread. Return to all comments →
What's the problem with this racket code (not compiling)? Works fine in Dr Racket compiler.
(define (hpr x) (if (= x 1) "Hello World" (string-append "Hello World \n " (hpr (- x 1))))) (let ([n (read)]) (printf "~a~%" (hpr n)))
Seems like cookies are disabled on this browser, please enable them to open this website
Hello World N Times
You are viewing a single comment's thread. Return to all comments →
What's the problem with this racket code (not compiling)? Works fine in Dr Racket compiler.