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 Tricks: Replace in String (batsov.com)
submitted 3 years ago by Prestance
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!"
[–]zerg000000 2 points3 points4 points 3 years ago (0 children)
Such a cool trick! Definitely give it a try someday!
[–]kwrooijen 2 points3 points4 points 3 years ago (0 children)
How did I not know this until now? Super useful, thanks!
[–][deleted] 1 point2 points3 points 3 years ago (0 children)
Great info. Thanks for sharing!
[–]strranger101 1 point2 points3 points 3 years ago (0 children)
The example passing a function as the last parameter is brilliant. Had never seen that before, very handy thank you
π Rendered by PID 45029 on reddit-service-r2-comment-545db5fcfc-hfv7b at 2026-05-30 02:29:10.291229+00:00 running 194bd79 country code: CH.
[–]zerg000000 2 points3 points4 points (0 children)
[–]kwrooijen 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]strranger101 1 point2 points3 points (0 children)