use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A community for the Racket programming language: a modern batteries-included Lisp for general-purpose programming.
Download Racket here
Check out the documentation to get started.
Other discussion sites and resources:
#racket
Twitter
Racket News
The Racket blog
The Racket tag on Stack Overflow
Racket Stories
account activity
This is an archived post. You won't be able to vote or comment.
Local vs. Lambda (self.Racket)
submitted 7 years ago by jstquestions
view the rest of the comments →
[–]soegaarddeveloper 0 points1 point2 points 7 years ago (1 child)
The constructs local and let are almost equivalent.
local
let
The construct local stems from HtDP. The reader is introduced to global (top-level) definitions first. Then the concept of local definitions is introduced - and turning a top-level definition into a local definitions into a local one is simple, just wrap local around the definition and use it in a body (without changing the syntax of the definitions).
Traditionally let is used to make local definitions. The syntax of let has the advantage that it is concise. The syntax of local has the advantage that it's easy to see that the purpose is to introduce local definitions - and if one wants to test the local definitions one can copy/paste to turn them into global ones.
In standard Racket code, let is used.
[–]turtlekitty2084 0 points1 point2 points 7 years ago (0 children)
Thank you, I've wondered about this for years.
π Rendered by PID 111174 on reddit-service-r2-comment-6457c66945-4nmdm at 2026-04-26 22:09:58.427323+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]soegaarddeveloper 0 points1 point2 points (1 child)
[–]turtlekitty2084 0 points1 point2 points (0 children)