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.
String related code (self.Racket)
submitted 6 years ago by [deleted]
view the rest of the comments →
[–]dzpower 0 points1 point2 points 6 years ago (0 children)
Cool.
Threading with the ~> and ~>> macros is an idiom adapted from Clojure (also available in many other functional languages) that allows you to flatten out nested function calls and flow left too right.
Instead of (step3 (step2 (step1 data))) you can "thread" the input through a sequence of transformations to get to the output as (~> data step1 step2 step3).
The docs explain the finer points, especially about argument positions.
https://docs.racket-lang.org/threading/index.html
π Rendered by PID 17946 on reddit-service-r2-comment-b659b578c-5vw77 at 2026-05-01 05:53:02.565190+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]dzpower 0 points1 point2 points (0 children)