Top "Racket" questions

Racket is an extensible multi-paradigm programming language in the Lisp/Scheme family.

Including an external file in racket

I would like to include all the functions defined in a given racket file so that I get the same …

include scheme racket
Why is this expression giving me a function body error?

(define (subtract-1 n) (string-append "Number is: " (number->string n)) (cond [(= n 0) "All done!"] [else (subtract-1(- n 1))])) I keep …

scheme racket racket-student-languages
What are the benefits of letrec?

While reading "The Seasoned Schemer" I've begun to learn about letrec. I understand what it does (can be duplicated with …

functional-programming lisp scheme racket letrec
How do I step through and debug a Scheme program using Dr. Racket?

I'm using the Dr. Racket development environment and the language definition #lang scheme to do work for a course. However, …

debugging scheme racket
How do I pass a list as a list of arguments in racket?

I have a statement like this: ((lambda (a b c) (+ a b c)) 1 2 3) ; Gives 6 And I would like to be …

list parameters scheme racket
Setting default argument value in Racket

Is it possible to set a default value to some of arguments in Racket? Like so in Python: def f(…

racket default-value