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? |
| 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? |
| Regular expressions | re-find/re-seq/re-matches, re-matcher/re-groups, re-pattern and pattern split/replace |
| 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, 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 |