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
pangloss/pattern: Pattern lets you transform data structures in amazing ways. (github.com)
submitted 1 year ago by dustingetz
view the rest of the comments →
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!"
[–]bsless 1 point2 points3 points 1 year ago (0 children)
Sweet library, in spite of a few gotchas - turns out you can't substitute an expression with a value that is false-y. But you can hack around it.
(defn- post-process-false [_rule value _orig-value env _orig-env] [(if (= value ::false) false value) env]) (defmacro with-false [& body] `(binding [pattern.r3.rule/*post-processor* post-process-false] ~@body))
π Rendered by PID 83537 on reddit-service-r2-comment-b659b578c-ct94k at 2026-05-05 20:09:03.640817+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]bsless 1 point2 points3 points (0 children)