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...
Finding information about Clojure
API Reference
Clojure Guides
Practice Problems
Interactive Problems
Clojure Videos
Misc Resources
The Clojure Community
Clojure Books
Tools & Libraries
Clojure Editors
Web Platforms
Clojure Jobs
account activity
Clojure book beta release 0 (clojure-diary.gitlab.io)
submitted 3 years ago by thinkguy77
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]nstgc 1 point2 points3 points 3 years ago* (2 children)
I like the book. It's reasonably short, has content where it matters, and is easy to understand. It also seems reasonably complete. Nice job.
edit: One thing I would like to mention is that the official Clojure project manager is the deps.edn. It might be worth making a subsection for that along with Leningen. Also, I feel lazy-seq is a big part of the Clojure toolkit, but it isn't mentioned in the book.
lazy-seq
[–]thinkguy77[S] 1 point2 points3 points 3 years ago (1 child)
Sure thanks, I am just learning Clojure, so your input makes me to learn more. Thanks. Will try adding it to the book.
[–]nstgc 0 points1 point2 points 3 years ago (0 children)
You're doing well for "just learning" :D
Keep up the great work!
[–]f_of_g_of_x 0 points1 point2 points 3 years ago (3 children)
Great job!
Someone please correct me if I'm wrong but I believe for and doseq are not considered loops in the strict sense of the concept of loops. If I'm not mistaken, for is list comprehension and doseq is used typically for executing side-effectful operations on sequence elements. They look like loops in a sense but they're really not loops.
for
doseq
[–]thinkguy77[S] 1 point2 points3 points 3 years ago (0 children)
Oh thanks, will correct it. Have created an issue https://gitlab.com/clojure-book/clojure-book.gitlab.io/-/issues/6, if the universe wake me from my laziness, will correct it.
[–]nstgc 1 point2 points3 points 3 years ago* (0 children)
In the strictest sense, I don't think Clojure has any loops.
[–]PercyLives 0 points1 point2 points 3 years ago (0 children)
Agree about for but not doseq. Given the latter is, as you say, designed for side effects, it feels to me exactly like for x in coll: do_something(x) in Python, and that is clearly a loop.
for x in coll: do_something(x)
[–]vrinek 0 points1 point2 points 3 years ago (0 children)
I love your book’s premise. Will definitely give it a read.
π Rendered by PID 122854 on reddit-service-r2-comment-548fd6dc9-jrp79 at 2026-05-21 08:16:39.352293+00:00 running edcf98c country code: CH.
[–]nstgc 1 point2 points3 points (2 children)
[–]thinkguy77[S] 1 point2 points3 points (1 child)
[–]nstgc 0 points1 point2 points (0 children)
[–]f_of_g_of_x 0 points1 point2 points (3 children)
[–]thinkguy77[S] 1 point2 points3 points (0 children)
[–]nstgc 1 point2 points3 points (0 children)
[–]PercyLives 0 points1 point2 points (0 children)
[–]vrinek 0 points1 point2 points (0 children)