- Created: 17 Oct 2026
Feel free to copy, modify and share this document. Please do not remove this attribution.
Examples of messy Clojure snippets. This list will be expanded when I stumble upon more examples of code that reads like a puzzle each time you need to go back to it.
-
Do not wrap `:some-key` in `juxt` so that the value is a single element vector:
(f (juxt :some-key))Instead, please do:(f (fn inner [x] [(:some-key x)]))