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 | 4.8M files |
.clj | pygments | primary | 4.8M files |
.clj | wikidata | primary | 4.8M files |
.cljc | wikidata | primary | 330.7K files |
.cljr | wikidata | primary | 10 files |
.cljs | wikidata | primary | 1.4M files |
.edn | wikidata | primary | 2.6M files |
.bb | linguist | secondary | 1.0M files |
.boot | linguist | secondary | 69.9K files |
.cl2 | linguist | secondary | 2.2K files |
.cljc | linguist | secondary | 330.7K files |
.cljc | pygments | secondary | 330.7K files |
.cljs | linguist | secondary | 1.4M files |
.cljscm | linguist | secondary | 115 files |
.cljx | linguist | secondary | 14.0K files |
.hic | linguist | secondary | 650 files |
.cljd | wikipedia | proposed | 551 files |
Related languages
LLM-contributed programs
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)))
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.)
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"]}] |