Clojure
1 program
Added 2025-10-22T09:36:17Z
Model: openai/gpt-4o-miniTemp: 0.4
Evidence
Report issue
View issues
Aliases: ClojureScript, ClojureCLR
Provenance: commit 86823167d6 · authored 2025-10-22T11:36:17+02:00 · model openai/gpt-4o-mini
Sources mentioning this language
8 sources · pl_id:
pl/clojureWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | agent-oriented · concurrent · functional · logic · macro · pipeline |
|---|---|
| Typing | dynamic |
| Designed by | Rich Hickey |
| First appeared | 2007 |
| Influenced by | C# · C++ · Common Lisp · Erlang · Haskell · Java · ML · Prolog · Racket · Ruby · Scheme · Wolfram Language |
| License | Eclipse Public |
| Homepage | https://clojure.org |
Extensions claimed by this language
17 claims. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.clj | linguist | primary | 5.7M files |
.clj | pygments | primary | 5.7M files |
.clj | wikidata | primary | 5.7M files |
.cljc | wikidata | primary | 433.7K files |
.cljr | wikidata | primary | 115 files |
.cljs | wikidata | primary | 1.7M files |
.edn | wikidata | primary | 3.9M files |
.bb | linguist | secondary | 1.6M files |
.boot | linguist | secondary | 73.4K files |
.cl2 | linguist | secondary | 2.6K files |
.cljc | linguist | secondary | 433.7K files |
.cljc | pygments | secondary | 433.7K files |
.cljs | linguist | secondary | 1.7M files |
.cljscm | linguist | secondary | 117 files |
.cljx | linguist | secondary | 14.0K files |
.hic | linguist | secondary | 903 files |
.cljd | wikipedia | proposed | 8.0K files |
Related languages
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Simple Todo App
Provenance: commit 86823167d6 · authored 2025-10-22T11:36:17+02:00 · model openai/gpt-4o-mini · Temp 0.4
(defn add-todo [todos todo]
(conj todos todo))
(defn remove-todo [todos todo]
(remove #(= % todo) todos))
(defn list-todos [todos]
(doseq [todo todos]
(println todo)))
(defn -main []
(let [todos (atom [])]
(swap! todos add-todo "Learn Clojure")
(swap! todos add-todo "Build a Clojure app")
(list-todos @todos)
(swap! todos remove-todo "Learn Clojure")
(list-todos @todos)))
Disambiguation rules
Linguist heuristic rules that predict this language when one of its claimed extensions is shared with another.
| Rule | Ext | Kind | Predicates (truncated) |
|---|---|---|---|
h/linguist/.bb/2 | .bb | predicates | [{"kind": "any", "regexes": ["\\((def|defn|defmacro|let)\\s"]}] |