Reference
One page per name the Clojure front end provides: every form, verb and interop entry of the experimental subset, grouped by area. Each name in a table links to its own page, which gives the signature, the behavior, the deviation from the oracle where there is one and a worked example. The refused forms are not listed here -- Semantics has them.
| Page | Contents |
|---|---|
| Syntax and definition | def/defn/fn, binding, conditionals, quote, comment, declare |
| Threading | ->, ->>, as->, doto and the conditional threaders |
| Seqs | The seq family, lazy where taken and strict otherwise |
| Iteration | doseq/dotimes/for, dorun/doall and run! |
| Maps, sets and vectors | The persistent collection verbs over equal hash tables |
| Higher-order functions | comp/partial/complement/constantly/identity/memoize/trampoline, juxt/fnil/every-pred/some-fn/min-key/max-key |
| Numbers and predicates | Arithmetic, comparison and the type predicates |
| Type and collection predicates | seq?/map?/keyword?/int? and the other kind tests, identical?, distinct?, extends? |
| Instants and UUIDs | The #inst and #uuid values: inst-ms, random-uuid, parse-uuid |
| State | atom/deref/swap! and the volatile trio |
| Multimethods and hierarchies | defmulti/defmethod, derive and the hierarchy reads |
| Protocols, records and types | defprotocol/defrecord/deftype, reify, the extend family and satisfies? |
| Errors | try/catch/finally, throw, ex-info and its readers |
| Namespaces | ns and the top-level require/use/import |
| Names and keywords | name/namespace/keyword/symbol |
| (clojure.string) | The string library, plus the core subs |
| (clojure.set) | The relational set library: union/intersection/difference, select/project/rename, index/join, subset?/superset? |
| clojure.data | Recursive comparison: diff answering what only each side holds and what both hold |
| clojure.datafy | Values as data and navigation from data: datafy/nav over the clojure.core.protocols protocols, and CollReduce/IKVReduce, which reduce/reduce-kv consult |
| clojure.core.reducers | Reducers and folders: map/filter/mapcat/take... as reducible views, fold in parts, foldcat/cat/append!, monoid |
| clojure.edn | Reading EDN data: read-string/read with :eof, :readers and :default |
| clojure.instant | Reading RFC 3339 timestamps: parse-timestamp, validated, read-instant-date/-timestamp/-calendar |
| clojure.java.io | Files, URLs and the streams over them: file, reader/writer, input-stream/output-stream, copy, resource, the Coercions/IOFactory protocols, and http: URLs read through rontolisp:fetch |
| clojure.math | Functions over doubles that answer the same bits on every backend, rounding and the neighbors of a double, and long arithmetic that refuses to overflow |
| clojure.pprint | Pretty printing: pprint/write within a right margin, print-table, code-dispatch for code, and the dispatch a program extends or replaces |
| clojure.reflect | A host class's bases, flags and members as data: type-reflect/reflect, the Constructor/Method/Field records, typename |
| clojure.stacktrace | Printing throwables and their causes: root-cause, print-throwable, print-stack-trace, print-cause-trace |
| clojure.template | Expression templates: apply-template, do-template |
| clojure.walk | Generic traversal of nested data: walk/postwalk/prewalk, the -replace pair, keywordize-keys/stringify-keys |
| clojure.zip | Functional tree editing with zippers: vector-zip/seq-zip/xml-zip, moves, edits and the depth-first walk |
| Regular expressions | re-find/re-seq/re-matches, re-matcher/re-groups, re-pattern and pattern split/replace |
| Ring adapter | ring.adapter.rontolisp/run-server: a Ring handler served on every transport |
| Ring utilities | The built-in ring.util.* and ring.middleware.* namespaces: response builders, URL and form coding, parameter middleware |
| HTTP client (rontolisp.http-client) | request and get/post/put/delete/head/patch with babashka.http-client's API, over rontolisp:fetch on every transport |
| WASM host functions (rontolisp.wasm) | defimport/export: a host function a module calls, a function the host calls |
| WIT contracts (rontolisp.wit) | import/export/provide: a WIT interface called, a WIT world implemented |
| Java interop | ., .., construction, memfn, proxy |
| Transducers | transduce/eduction/sequence/completing, reduced and its companions, cat, and the one-argument arities of the seq verbs |
| IO | spit/slurp/line-seq/file-seq, clojure.java.io/reader and format |
| Tests (clojure.test) | deftest/is/are/testing and the run-tests summary runner |
| Macros | defmacro, syntax-quote, gensym, macroexpand-1, macroexpand |
| Code walking (riddley) | The built-in riddley.walk and riddley.compiler: macroexpand-all and walk-exprs with the locals in reach at each macro call |