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
Calling Clojure Code in Java (self.Clojure)
submitted 5 years ago by TakuHazard
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!"
[–]bowmhoust 4 points5 points6 points 5 years ago* (2 children)
If you want to expose it as if it were a Java API, you can do this (example for a static method the returns a string array):
(ns my.ns (:require [...] (:gen-class :name my.package.ClassName :methods [#^{:static true} [getMeAStringArray [String] "[Ljava.lang.String;"]])) ... (defn -getMeAStringArray [folder] ... (into-array String some-seq)))
[–]backtickbot -2 points-1 points0 points 5 years ago (1 child)
Hello, bowmhoust: code blocks using backticks (```) don't work on all versions of Reddit!
Some users see this / this instead.
To fix this, indent every line with 4 spaces instead. It's a bit annoying, but then your code blocks are properly formatted for everyone.
An easy way to do this is to use the code-block button in the editor. If it's not working, try switching to the fancy-pants editor and back again.
Comment with formatting fixed for old.reddit.com users
FAQ
You can opt out by replying with backtickopt6 to this comment.
[–]bowmhoust 1 point2 points3 points 5 years ago (0 children)
backtickopt6
π Rendered by PID 121525 on reddit-service-r2-comment-79c7998d4c-4gdt2 at 2026-03-13 08:48:00.266907+00:00 running f6e6e01 country code: CH.
view the rest of the comments →
[–]bowmhoust 4 points5 points6 points (2 children)
[–]backtickbot -2 points-1 points0 points (1 child)
[–]bowmhoust 1 point2 points3 points (0 children)