Index of Public Functions and Variables - clojure-contrib v1.3 (in development)

clojure-contrib is now deprecated

clojure-contrib is no longer being developed or maintained.

Rather than a single, monolithic, contributions library, Clojure now has a set of separate libraries for each unit of functionality. The libraries are in the Clojure GitHub organization at https://github.com/clojure. API documentation of the libraries can be found at https://clojure.github.io.

If you're looking for a specific function or namespace from the old clojure-contrib, see "Where Did Clojure.Contrib Go".

This page has an alphabetical index of all the documented functions and variables in clojure-contrib.
Shortcuts:
A B C D E F G H I J K L M
N O P Q R S T U V W X Y Z
Other

A

 abs                          function      math               (abs n) is the absolute value of n.
 action-translation-table     var           swing-utils        Translation table for the make-action constructor..
 add-action-listener          function      swing-utils        Adds an ActionLister to component. When the action...
 add-break-thread!            function      repl-utils         Add the given thread to break-threads so that it w...
 add-cell-watcher             function      dataflow           Adds a watcher to a cell to respond to changes of ...
 add-cells                    function      dataflow           Given a collection of cells, add them to the dataf...
 add-items                    function      accumulators       Add all elements of a collection coll to the accum...
 add-key-typed-listener       function      swing-utils        Adds a KeyListener to component that only responds...
 add-local-javadoc            function      repl-utils         Adds to the list of local Javadoc paths..
 add-loops                    function      graph              For each node n, add the edge n->n if not already ...
 add-remote-javadoc           function      repl-utils         Adds to the list of remote Javadoc URLs.  package-...
 all-greatest                 function      greatest-least     Returns all the greatest elements..
 all-greatest-by              function      greatest-least     Return all the elements for which f yields the gre...
 all-least                    function      greatest-least     Returns all the least elements..
 all-least-by                 function      greatest-least     Return all the elements for which f yields the lea...
 ancestors                    function      zip-filter         Returns a lazy sequence of all ancestors of locati...
 approx=                      function      generic.math-functions Return true if the absolute value of the diffe...
 as-properties                function      java-utils         Convert any seq of pairs to a java.utils.Propertie...
 attribute-info               function      jmx                Get the MBeanAttributeInfo for an attribute..
 attribute-names              function      jmx                All attribute names available on an MBean..

B

 bind-continue                function      error-kit          Special form to be used inside a 'with-handler'. C...
 break-threads                var           repl-utils         Threads to stop when Ctrl-C is pressed.  See 'add-...
 buffer-stream                function      mmap               Returns an InputStream for a ByteBuffer, such as r...
 build-attribute-info         function      jmx                Construct an MBeanAttributeInfo. Normally called w...
 build-dataflow               function      dataflow           Given a collection of cells, build and return a da...
 build-source-cell            function      dataflow           Builds a source cell.
 build-standard-cell          function      dataflow           Builds a standard cell.
 build-validator-cell         function      dataflow           Builds a validator cell.
 build-work-plan              function      datalog            Given a list of rules and a query, build a work pl...

C

 *connection*                 var           jmx                The connection to be used for JMX ops. Defaults to...
 call-cc                      function      monads             A computation in the cont monad that calls functio...
 call-method                  function      reflect            Calls a private or protected method.  params is a ...
 calls                        function      mock               Creates or associates to an existing expectation h...
 capture-and-send             macro         agent-utils        Capture the current value of the specified vars an...
 cartesian-product            function      combinatorics      All the ways to take one item from each sequence.
 case                         macro         fcase              Like cond, but test-value is compared against the ...
 ceil                         function      math               (ceil n) returns the least integer greater than or...
 cell                         macro         dataflow           Build a standard cell, like this:  (cell fred ...
 certainly                    function      probabilities.finite-distributions Returns a distribution in which th...
 children                     function      zip-filter         Returns a lazy sequence of all immediate children ...
 children-auto                function      zip-filter         Returns a lazy sequence of all immediate children ...
 choose                       function      probabilities.finite-distributions Construct a distribution from an e...
 classpath                    function      classpath          Returns a sequence of File objects of the elements...
 classpath-directories        function      classpath          Returns a sequence of File objects for the directo...
 classpath-jarfiles           function      classpath          Returns a sequence of JarFile objects for the JAR ...
 clojure-source-file?         function      find-namespaces    Returns true if file is a normal file with a .clj ...
 clojure-sources-in-jar       function      find-namespaces    Returns a sequence of filenames ending in .clj fou...
 combinations                 function      combinatorics      All the unique ways of taking n different elements...
 comment?                     function      find-namespaces    Returns true if form is a (comment ...).
 commons-logging              function      logging            Returns a commons-logging-based implementation of ...
 component-graph              function      graph              Given a graph, perhaps with cycles, return a reduc...
 components                   function      miglayout          Returns a map from id (a keyword) to component for...
 cond-dist-m                  var           probabilities.finite-distributions Variant of the dist monad that can...
 cond-let                     macro         cond               Takes a binding-form and a set of test/expr pairs....
 cond-prob                    function      probabilities.finite-distributions Returns the conditional probabilit...
 connection                   function      sql                Returns the current database connection (or throws...
 const                        macro         macros             Evaluate the constant expression expr at compile t...
 cont-m                       var           monads             Monad describing computations in continuation-pass...
 create-repl-server           function      server-socket      create a repl on a socket.
 create-server                function      server-socket      Creates a server socket on port. Upon accept, a ne...
 create-table                 function      sql                Creates a table on the open database connection gi...

D

 debug                        macro         logging            Debug level logging using print-style args..
 debugf                       macro         logging            Debug level logging using format..
 decode                       function      base64             Decodes base64-encoded content from str-reader. Wr...
 decode-str                   function      base64             Decodes base64-encoded String using encoding. Enco...
 deep-merge-with              function      map-utils          Like merge-with, but merges maps recursively, appl...
 defadt                       macro         types              Define an algebraic data type name by an exhaustiv...
 defalias                     macro         def                Defines an alias for a var: a new var with the sam...
 deferror                     macro         error-kit          Define a new error type.
 defhinted                    macro         def                Defines a var with a type hint matching the class ...
 defmacro-                    macro         def                Same as defmacro but yields a private definition.
 defmethod*                   macro         generic.arithmetic Define a method implementation for the multimethod...
 defmonad                     macro         monads             Define a named monad by defining the monad operati...
 defmonadfn                   macro         monads             Like defn, but for functions that use monad operat...
 defn-memo                    macro         def                Just like defn, but memoizes the function using cl...
 defnk                        macro         def                Define a function accepting keyword arguments. Sym...
 defonce-                     macro         def                Same as defonce but yields a private definition.
 defst                        macro         stream-utils       Define the stream transformer name by body. The no...
 defstream                    macro         stream-utils       Define object of the given type as a stream whose ...
 defstruct-                   macro         def                Same as defstruct but yields a private definition.
 defsymbolmacro               macro         macro-utils        Define a symbol macro. Because symbol macros are n...
 deftemplate                  macro         macro-utils        Define a macro that expands into forms after repla...
 deftrace                     macro         trace              Use in place of defn; traces each call/return of t...
 deftype                      macro         types              Define a data type by a type tag (a namespace-qual...
 deftype-                     macro         types              Same as deftype but the constructor is private..
 defunbound                   macro         def                Defines an unbound var with optional doc string.
 defunbound-                  macro         def                Same as defunbound but yields a private definition.
 defvar                       macro         def                Defines a var with an optional intializer and doc ...
 defvar-                      macro         def                Same as defvar but yields a private definition.
 delete-rows                  function      sql                Deletes rows from a table. where-params is a vecto...
 dependency-list              function      graph              Similar to a topological sort, this returns a vect...
 descendants                  function      zip-filter         Returns a lazy sequence of all descendants of loca...
 dir                          macro         ns-utils           Prints a sorted directory of public vars in a name...
 discrete                     function      probabilities.monte-carlo A discrete distribution, defined by a map d...
 display-cell                 var           dataflow           A 'readable' form of the cell.
 dissoc-in                    function      core               Dissociates an entry from a nested associative str...
 dist-m                       var           probabilities.finite-distributions Monad describing computations on f...
 do-commands                  function      sql                Executes SQL commands on the open database connect...
 do-not-handle                macro         error-kit          Use in a tail position of a 'handle' form to indic...
 do-prepared                  function      sql                Executes an (optionally parameterized) SQL prepare...
 do-swing                     macro         swing-utils        Executes body in the Swing event thread asynchrono...
 do-swing*                    function      swing-utils        Runs thunk in the Swing event thread according to ...
 do-swing-and-wait            macro         swing-utils        Executes body in the Swing event thread synchronou...
 docs                         macro         ns-utils           Prints documentation for the public vars in a name...
 domonad                      macro         monads             Monad comprehension. Takes the name of a monad, a ...
 dotrace                      macro         trace              Given a sequence of function identifiers, evaluate...
 drop-table                   function      sql                Drops a table on the open database connection give...

E

 *enable-profiling*           var           profile            Set this to false before loading/compiling to omit...
 empty-counter                var           accumulators       An empty counter accumulator. Its value is a map t...
 empty-counter-with-total     var           accumulators       An empty counter-with-total accumulator. It works ...
 empty-list                   var           accumulators       An empty list accumulator. Adding an item appends ...
 empty-map                    var           accumulators       An empty map accumulator. Items to be added must b...
 empty-maximum                var           accumulators       An empty maximum accumulator. Only numbers can be ...
 empty-mean-variance          var           accumulators       An empty mean-variance accumulator, combining samp...
 empty-min-max                var           accumulators       An empty min-max accumulator, combining minimum an...
 empty-minimum                var           accumulators       An empty minimum accumulator. Only numbers can be ...
 empty-product                var           accumulators       An empty sum accumulator. Only numbers can be adde...
 empty-queue                  var           accumulators       An empty queue accumulator. Adding an item appends...
 empty-set                    var           accumulators       An empty set accumulator..
 empty-string                 var           accumulators       An empty string accumulator. Adding an item (strin...
 empty-sum                    var           accumulators       An empty sum accumulator. Only numbers can be adde...
 empty-tuple                  function      accumulators       Returns an accumulator tuple with the supplied emp...
 empty-vector                 var           accumulators       An empty vector accumulator. Adding an item append...
 enabled?                     macro         logging            Returns true if the specific logging level is enab...
 encode                       function      base64             Encodes bytes of input, writing Base 64 text on ou...
 encode-str                   function      base64             Encodes String in base 64; returns a String.  If n...
 error                        function      error-kit          Base type for all error-kit errors.
 error                        macro         logging            Error level logging using print-style args..
 errorf                       macro         logging            Error level logging using format..
 eval-cell                    var           dataflow           Evaluate a dataflow cell.  Return [changed, old va...
 exact-integer-sqrt           function      math               (exact-integer-sqrt n) expects a non-negative inte...
 expect                       macro         mock               Use expect to redirect calls to dependent function...
 exponential                  function      probabilities.monte-carlo Transform a sequence of uniform random numb...
 expression-info              function      repl-utils         Uses the Clojure compiler to analyze the given s-e...
 expt                         function      math               (expt base pow) is base to the pow power. Returns ...

F

 *force*                      var           logging            Overrides the default rules for choosing between l...
 *full-stack-traces*          var           condition          Bind to true to include clojure.{core,lang,main} f...
 fatal                        macro         logging            Fatal level logging using print-style args..
 fatalf                       macro         logging            Fatal level logging using format..
 fcase                        macro         fcase              Generic switch/case macro.  'fcase' is short for '...
 fetch-state                  function      monads             Return a state-monad function that returns the cur...
 fetch-val                    function      monads             Return a state-monad function that assumes the sta...
 fibs                         function      lazy-seqs          Returns a lazy sequence of all the Fibonacci numbe...
 filenames-in-jar             function      jar                Returns a sequence of Strings naming the non-direc...
 fill-queue                   function      seq                filler-func will be called in another thread with ...
 find-clojure-sources-in-dir  function      find-namespaces    Searches recursively under dir for Clojure source ...
 find-connection              function      sql                Returns the current database connection (or nil if...
 find-factory                 function      logging            Returns the first LogFactory found that is availab...
 find-first                   function      seq                Returns the first item of coll for which (pred ite...
 find-javadoc-url             function      repl-utils         Searches for a URL for the given class name.  Trie...
 find-namespaces-in-dir       function      find-namespaces    Searches dir recursively for (ns ...) declarations...
 find-namespaces-in-jarfile   function      find-namespaces    Searches the JAR file for Clojure source files con...
 find-namespaces-on-classpath function      find-namespaces    Searches CLASSPATH (both directories and JAR files...
 find-ns-decls-in-dir         function      find-namespaces    Searches dir recursively for (ns ...) declarations...
 find-ns-decls-in-jarfile     function      find-namespaces    Searches the JAR file for Clojure source files con...
 find-ns-decls-on-classpath   function      find-namespaces    Searches CLASSPATH (both directories and JAR files...
 fixed-point                  function      graph              Repeatedly apply fun to data until (equal old-data...
 floor                        function      math               (floor n) returns the greatest integer less than o...
 flush                        function      monadic-io-streams Flush.
 fnmap                        function      fnmap              Creates a fnmap, or functional map.  A fnmap behav...

G

 gcd                          function      math               (gcd a b) returns the greatest common divisor of a...
 generate-documentation       function      gen-html-docs      Returns a string which is the HTML documentation f...
 generate-documentation-to-file function    gen-html-docs      Calls generate-documentation on the libraries name...
 get-cell                     function      dataflow           Get the single cell named by name.
 get-cells                    function      dataflow           Get all the cells named by name.
 get-field                    function      reflect            Access to private or protected field.  field-name ...
 get-neighbors                function      graph              Get the neighbors of a node..
 get-ns                       function      ns-utils           Returns the namespace named by ns-sym or throws if...
 get-old-value                function      dataflow           Looks up an old value.
 get-source-cells             function      dataflow           Returns a collection of source cells from the data...
 get-system-property          function      java-utils         Get a system property..
 get-value                    function      dataflow           Gets a value from the df matching the passed symbo...
 get-value-from-cell          function      dataflow           Given a cell, get its value.
 get-values                   function      dataflow           Gets a collection of values from the df by name.
 global-singleton             function      singleton          Returns a global singleton function.  f is a funct...
 greatest                     function      greatest-least     Return the greatest argument..
 greatest-by                  function      greatest-least     Return the argument for which f yields the greates...
 guess-attribute-typename     function      jmx                Guess the attribute typename for MBeanAttributeInf...

H

 *html-compatible*            var           prxml              If true, empty tags will have a space before the c...
 handle                       function      error-kit          Special form to be used inside a 'with-handler'.  ...
 handler-case                 macro         condition          Executes body in a context where raised conditions...
 has-args                     macro         mock               Creates or associates to an existing expectation h...
 has-matching-signature?      function      mock               Calls no-matching-function-signature if no match i...

I

 identity-m                   var           monads             Monad describing plain computations. This monad do...
 immigrate                    function      ns-utils           Create a public var in this namespace for each pub...
 impl-enabled?                function      logging            Implementation-specific check if a particular leve...
 impl-get-log                 function      logging            Returns an implementation-specific Log by namespac...
 impl-name                    function      logging            Returns some text identifying the underlying imple...
 impl-write!                  function      logging            Implementation-specific write of a log message. En...
 import-static                macro         import-static      Imports the named static fields and/or static meth...
 in-case                      macro         fcase              Like case, but test expressions are sequences.  Th...
 indexed                      function      seq                Returns a lazy sequence of [index, item] pairs, wh...
 info                         macro         logging            Info level logging using print-style args..
 infof                        macro         logging            Info level logging using format..
 insert-records               function      sql                Inserts records into a table. records are maps fro...
 insert-rows                  function      sql                Inserts complete rows into a table. Each row is a ...
 insert-values                function      sql                Inserts rows into a table with values for specifie...
 instance-case                macro         fcase              Like case, but the test expressions are Java class...
 is-rollback-only             function      sql                Returns true if the outermost transaction will rol...

J

 jar-file?                    function      jar                Returns true if file is a normal file with a .jar ...
 java-util-logging            function      logging            Returns a java.util.logging-based implementation o...
 javadoc                      function      repl-utils         Opens a browser window displaying the javadoc for ...
 jmx-url                      function      jmx                Build a JMX URL from options..
 join-with                    function      probabilities.finite-distributions Returns the distribution of (f x y...
 json-str                     function      json               Converts x to a JSON-formatted string.  Valid opti...

K


L

 *local-javadocs*             var           repl-utils         Ref to a list of local paths for Javadoc-generated...
 *log-factory*                var           logging            An instance satisfying the LogFactory protocol. Us...
 *logging-agent*              var           logging            The default agent used for performing logging when...
 lazy-get                     macro         map-utils          Like get, but doesn't evaluate not-found unless it...
 lazy-walk                    function      graph              Return a lazy sequence of the nodes of a graph sta...
 lcg                          function      probabilities.random-numbers Create a linear congruential generator.
 lcm                          function      math               (lcm a b) returns the least common multiple of a a...
 least                        function      greatest-least     Return the smallest element..
 least-by                     function      greatest-least     Return the argument for which f yields the smalles...
 left-locs                    function      zip-filter         Returns a lazy sequence of locations to the left o...
 leftmost?                    function      zip-filter         Returns true if there are no more nodes to the lef...
 letfn-                       macro         macros             OBSOLETE: use clojure.core/letfn A variant of let ...
 lex-permutations             function      combinatorics      Fast lexicographic permutation generator for a seq...
 Log                          var           logging            The protocol through which macros will interact wi...
 log                          macro         logging            Evaluates and logs a message only if the specified...
 log*                         function      logging            Attempts to log a message, either directly or via ...
 log-capture!                 function      logging            Captures System.out and System.err, piping all wri...
 log-stream                   function      logging            Creates a PrintStream that will output to the log ...
 log-uncapture!               function      logging            Restores System.out and System.err to their origin...
 log4j-logging                function      logging            Returns a log4j-based implementation of the LogFac...
 logf                         macro         logging            Logs a message using a format string and args. Can...
 LogFactory                   var           logging            The protocol through which macros will obtain an i...
 lognormal                    function      probabilities.monte-carlo Transform a sequence of uniform random numb...
 logp                         macro         logging            Logs a message using print style args. Can optiona...

M

 m-chain                      var           monads             Chains together monadic computation steps that are...
 m-fmap                       var           monads             Bind the monadic value m to the function returning...
 m-join                       var           monads             Converts a monadic value containing a monadic valu...
 m-lift                       macro         monads             Converts a function f of n arguments into a functi...
 m-map                        var           monads             'Executes' the sequence of monadic values resultin...
 m-reduce                     var           monads             Return the reduction of (m-lift 2 f) over the list...
 m-seq                        var           monads             'Executes' the monadic values in ms and returns a ...
 m-until                      var           monads             While (p x) is false, replace x by the value retur...
 m-when                       macro         monads             If test is logical true, return monadic value m-ex...
 m-when-not                   macro         monads             If test if logical false, return monadic value m-e...
 macrolet                     macro         macro-utils        Define local macros that are used in the expansion...
 make-action                  function      swing-utils        Create an Action proxy from the given action spec....
 make-arg-checker             function      mock               Creates the argument verifying function for a repl...
 make-count-checker           function      mock               creates the count checker that is invoked at the e...
 make-distribution            function      probabilities.finite-distributions Returns the distribution in which ...
 make-menubar                 function      swing-utils        Create a menubar containing the given sequence of ...
 make-mock                    function      mock               creates a vector containing the following informat...
 map->attribute-infos         function      jmx                Construct an MBeanAttributeInfo[] from a Clojure a...
 match                        macro         types              Given a value and a list of template-expr clauses,...
 max                          function      generic.comparison Returns the greatest of its arguments. Like clojur...
 maybe-atomize                function      jmx                Convert a list of length 1 into its contents, leav...
 maybe-keywordize             function      jmx                Convert a string key to a keyword, leaving other t...
 maybe-m                      var           monads             Monad describing computations with possible failur...
 maybe-t                      function      monads             Monad transformer that transforms a monad m into a...
 mbean                        function      jmx                Like clojure.core/bean, but for JMX beans. Returns...
 mbean-names                  function      jmx                Finds all MBeans matching a name on the current *c...
 menu-constructor-dispatch    var           swing-utils        An atom containing the dispatch set for the add-me...
 mexpand                      function      macro-utils        Like clojure.core/macroexpand, but takes into acco...
 mexpand-1                    function      macro-utils        Like clojure.core/macroexpand-1, but takes into ac...
 mexpand-all                  function      macro-utils        Perform a full recursive macro expansion of a form...
 miglayout                    function      miglayout          Adds java.awt.Components to a javax.swing.JCompone...
 min                          function      generic.comparison Returns the least of its arguments. Like clojure.c...
 mmap                         function      mmap               Memory-map the file named f.  Returns a ByteBuffer...
 monad                        macro         monads             Define a monad by defining the monad operations. T...
 monad-transformer            macro         monads             Define a monad transforer in terms of the monad op...

N

 n-sphere                     function      probabilities.monte-carlo Return a uniform distribution of n-dimensio...
 name-with-attributes         function      def                To be used in macro definitions. Handles optional ...
 new-by-name                  function      core               Constructs a Java object whose class is specified ...
 normal                       function      probabilities.monte-carlo Transform a sequence urs of uniform random ...
 normal-box-muller            function      probabilities.monte-carlo Transform a sequence of uniform random numb...
 normalize                    function      probabilities.finite-distributions Convert a weight map (e.g. a map o...
 ns-decl?                     function      find-namespaces    Returns true if form is a (ns ...) declaration..
 ns-vars                      function      ns-utils           Returns a sorted seq of symbols naming public vars...

O

 op-param-types               function      jmx                The parameter types (as class name strings) for op...
 operation                    function      jmx                The MBeanOperationInfo for operation op on mbean n...
 operation-names              function      jmx                All operation names available on an MBean..
 operations                   function      jmx                All oeprations available on an MBean..

P

 *prxml-indent*               var           prxml              The number of spaces to indent sub-tags.  nil for ...
 parse-seq                    function      lazy-xml           Parses the source s, which can be a File, InputStr...
 parse-trim                   function      lazy-xml           Parses the source s, which can be a File, InputStr...
 per-thread-singleton         function      singleton          Returns a per-thread singleton function.  f is a f...
 permutations                 function      combinatorics      All the permutations of items, lexicographic by in...
 pick                         function      stream-utils       Return the next value of stream argument n inside ...
 pick-all                     function      stream-utils       Return a vector containing the next value of each ...
 positions                    function      seq                Returns a lazy sequence containing the positions a...
 post-ordered-nodes           function      graph              Return a sequence of indexes of a post-ordered wal...
 powers-of-2                  function      lazy-seqs          Returns a lazy sequence of all the powers of 2.
 pprint-json                  function      json               Pretty-prints JSON representation of x to *out*.  ...
 primes                       var           lazy-seqs          Lazy sequence of all the prime numbers..
 print                        function      monadic-io-streams Print obj.
 print-dataflow               function      dataflow           Prints a dataflow, one cell per line.
 print-dir                    function      ns-utils           Prints a sorted directory of public vars in a name...
 print-docs                   function      ns-utils           Prints documentation for the public vars in a name...
 print-json                   function      json               Write JSON-formatted output to *out*.  Valid optio...
 print-repl-info              function      repl-ln            Prints info about the current repl.
 print-stack-trace            function      condition          Prints a stack trace for a condition or Throwable....
 print-summary                function      profile            Prints a table of the results returned by summariz...
 println                      function      monadic-io-streams Print obj followed by a newline.
 priority-map                 function      priority-map       keyval => key val Returns a new priority map with ...
 priority-map-by              function      priority-map       keyval => key val Returns a new priority map with ...
 prob                         function      probabilities.finite-distributions Return the probability that the pr...
 prof                         macro         profile            If *enable-profiling* is true, wraps body in profi...
 profile                      macro         profile            Runs body with profiling enabled, then prints a su...
 proper-subset?               function      set                Is s1 a proper subset of s2?.
 proper-superset?             function      set                Is s1 a proper superset of s2?.
 prxml                        function      prxml              Print XML to *out*.  Vectors become XML tags: the ...

Q

 qsym                         macro         generic.arithmetic Create the qualified symbol corresponding to sym i...

R

 *remote-javadocs*            var           repl-utils         Ref to a map from package name prefixes to URLs fo...
 raise                        macro         condition          Raises a condition. With no arguments, re-raises t...
 raise                        macro         error-kit          Raise an error of the type err-name, constructed w...
 raise*                       function      error-kit          Raise the given error object, best if created by a...
 rand-stream                  var           probabilities.random-numbers A random number stream based on clojure....
 random-stream                function      probabilities.monte-carlo Define a random stream by a distribution an...
 raw-read                     function      jmx                Read an mbean property. Returns low-level Java obj...
 re-case                      macro         fcase              Like case, but the test expressions are regular ex...
 read                         var           jmx                Read an mbean property..
 read-char                    function      monadic-io-streams Read a single character.
 read-file-ns-decl            function      find-namespaces    Attempts to read a (ns ...) declaration from file,...
 read-json                    function      json               Reads one JSON value from input String or Reader. ...
 read-json-from               function      json               Reads one JSON value from input String or Reader. ...
 read-line                    function      monadic-io-streams Read a single line.
 read-lines                   function      monadic-io-streams Read all lines and return them in a vector.
 read-ns-decl                 function      find-namespaces    Attempts to read a (ns ...) declaration from rdr, ...
 read-ns-decl-from-jarfile-entry function   find-namespaces    Attempts to read a (ns ...) declaration from the n...
 read-properties              function      java-utils         Read properties from file-able..
 read-supported               function      jmx                Calls read to read an mbean property, *returning* ...
 readable?                    function      jmx                Is attribute readable?.
 rec-cat                      macro         seq                Similar to lazy-cat but binds the resulting sequen...
 rec-seq                      macro         seq                Similar to lazy-seq but binds the resulting seq to...
 recursive-component?         function      graph              Is the component (recieved from scc) self recursiv...
 reject                       function      probabilities.monte-carlo Return the distribution that results from r...
 remove-cells                 function      dataflow           Given a collection of cells, remove them from the ...
 remove-loops                 function      graph              For each node n, remove any edges n->n..
 repl                         function      repl-ln            A repl that supports line numbers. For definitions...
 repl-info                    function      repl-ln            Returns a map of info about the current repl.
 repl-prompt                  function      repl-ln            Returns the current repl prompt based on this repl...
 returns                      function      mock               Creates or associates to an existing expectation h...
 reverse-graph                function      graph              Given a directed graph, return another directed gr...
 right-locs                   function      zip-filter         Returns a lazy sequence of locations to the right ...
 rightmost?                   function      zip-filter         Returns true if there are no more nodes to the rig...
 rotations                    function      seq                Returns a lazy seq of all rotations of a seq.
 round                        function      math               (round n) rounds to the nearest integer. round alw...
 run                          macro         repl-utils         Loads the specified namespace and invokes its "mai...
 run*                         function      repl-utils         Loads the specified namespace and invokes its "mai...
 run-cont                     function      monads             Execute the computation c in the cont monad and re...
 run-work-plan                function      datalog            Given a work plan, a database, and some query bind...

S

 safe-get                     function      map-utils          Like get, but throws an exception if the key is no...
 safe-get-in                  function      map-utils          Like get-in, but throws an exception if any key is...
 sample                       function      probabilities.monte-carlo Return the distribution of samples of lengt...
 sample-mean                  function      probabilities.monte-carlo Return the distribution of the mean over n ...
 sample-mean-variance         function      probabilities.monte-carlo Return the distribution of the mean-and-var...
 sample-reduce                function      probabilities.monte-carlo Returns the distribution of the reduction o...
 sample-sum                   function      probabilities.monte-carlo Return the distribution of the sum over n s...
 scc                          function      graph              Returns, as a sequence of sets, the strongly conne...
 selections                   function      combinatorics      All the ways of taking n (possibly the same) eleme...
 self-recursive-sets          function      graph              Returns, as a sequence of sets, the components of ...
 separate                     function      seq                Returns a vector: [ (filter f s), (filter (complem...
 seqable?                     function      core               Returns true if (seq x) will succeed, false otherw...
 sequence-m                   var           monads             Monad describing multi-valued computations, i.e. c...
 sequence-t                   function      monads             Monad transformer that transforms a monad m into a...
 set-m                        var           monads             Monad describing multi-valued computations, like s...
 set-repl-name                function      repl-ln            Sets the repl name format to the string name-fmt. ...
 set-repl-prompt              function      repl-ln            Sets the repl prompt. Include the following codes ...
 set-rollback-only            function      sql                Marks the outermost transaction such that it will ...
 set-state                    function      monads             Return a state-monad function that replaces the cu...
 set-system-properties        function      java-utils         Set some system properties. Nil clears a property..
 set-val                      function      monads             Return a state-monad function that assumes the sta...
 show                         function      repl-utils         With one arg prints all static and instance member...
 skip-chars                   function      monadic-io-streams Skip n characters.
 slf4j-logging                function      logging            Returns a SLF4J-based implementation of the LogFac...
 slurp                        function      mmap               Reads the file named by f and returns it as a stri...
 source-cell?                 function      dataflow           Is this cell a source cell?.
 spy                          macro         logging            Evaluates expr and writes the form and its result ...
 sqrt                         function      math               Square root, but returns exact number if possible..
 start-handling-break         function      repl-utils         Register INT signal handler.  After calling this, ...
 state-m                      var           monads             Monad describing stateful computations. The monadi...
 state-m-until                function      monads             An optimized implementation of m-until for the sta...
 state-t                      function      monads             Monad transformer that transforms a monad m into a...
 stratification-list          function      graph              Similar to dependency-list (see doc), except two g...
 stream-drop                  function      stream-utils       Return a stream containing all but the first n ele...
 stream-flatten               function      stream-utils       Converts a stream of sequences into a stream of th...
 stream-m                     var           stream-utils       Monad describing stream computations. The monadic ...
 stream-repl                  function      repl-ln            Repl entry point that provides convenient overridi...
 stream-seq                   function      stream-utils       Return a lazy seq on the stream. Also accessible v...
 stream-type                  var           stream-utils       The root type for the stream hierarchy. For each s...
 subsets                      function      combinatorics      All the subsets of items.
 summarize                    function      profile            Takes the raw data returned by with-profile-data a...
 symbol-macrolet              macro         macro-utils        Define local symbol macros that are used in the ex...

T

 *trace-depth*                var           trace              Current stack depth of traced function calls..
 *tx-agent-levels*            var           logging            The set of levels that will require using an agent...
 throw-arg                    function      except             Throws an IllegalArgumentException. All arguments ...
 throw-if                     function      except             Throws an Exception or Error if test is true. args...
 throw-if-not                 function      except             Throws an Exception or Error if test is false. arg...
 throw-msg                    macro         error-kit          Returns a function that throws a Java Exception wi...
 throwf                       function      except             Throws an Exception or Error with an optional mess...
 times                        macro         mock               Creates or associates to an existing expectation h...
 trace                        macro         logging            Trace level logging using print-style args..
 trace                        function      trace              Sends name (optional) and value to the tracer func...
 trace-fn-call                function      trace              Traces a single call to a function f with args.  '...
 trace-indent                 function      trace              Returns an indentation string based on *trace-dept...
 tracef                       macro         logging            Trace level logging using format..
 tracer                       function      trace              This function is called by trace.  Prints to stand...
 transaction                  macro         sql                Evaluates body as a transaction on the open databa...
 transitive-closure           function      graph              Returns the transitive closure of a graph.  The ne...

U

 uniform                      function      probabilities.finite-distributions Return a distribution in which eac...
 update-or-insert-values      function      sql                Updates values on selected rows in a table, or ins...
 update-state                 function      monads             Return a state-monad function that replaces the cu...
 update-val                   function      monads             Return a state-monad function that assumes the sta...
 update-values                function      dataflow           Given a dataflow, and a map of name-value pairs, u...
 update-values                function      sql                Updates values on selected rows in a table. where-...

V

 validate-counts              function      mock               given the sequence of all mock data for the expect...
 vars                         macro         ns-utils           Returns a sorted seq of symbols naming public vars...

W

 warn                         macro         logging            Warn level logging using print-style args..
 warnf                        macro         logging            Warn level logging using format..
 with-command-line            macro         command-line       Bind locals to command-line args..
 with-connection              macro         jmx                Execute body with JMX connection specified by opts...
 with-connection              macro         sql                Evaluates body in the context of a new connection ...
 with-direct-linking          macro         macros             EXPERIMENTAL! Compiles the functions in body with ...
 with-handler                 macro         error-kit          This is error-kit's dynamic scope form.  The body ...
 with-io-streams              function      monadic-io-streams Open one or more streams as specified by io-spec, ...
 with-logs                    macro         logging            Evaluates exprs in a context in which *out* and *e...
 with-monad                   macro         monads             Evaluates an expression after replacing the keywor...
 with-ns                      macro         with-ns            Evaluates body in another namespace.  ns is either...
 with-profile-data            macro         profile            Executes body with *profile-data* bound to an atom...
 with-query-results           macro         sql                Executes a query, then evaluates body with results...
 with-reader                  function      monadic-io-streams Create a reader from reader-spec, run the monadic ...
 with-state-field             function      monads             Returns a state-monad function that expects a map ...
 with-symbol-macros           macro         macro-utils        Fully expand exprs, including symbol macros..
 with-system-properties       macro         java-utils         setting => property-name value  Sets the system pr...
 with-temp-ns                 macro         with-ns            Evaluates body in an anonymous namespace, which is...
 with-writer                  function      monadic-io-streams Create a writer from writer-spec, run the monadic ...
 write                        function      monadic-io-streams Write text (a string).
 write-json                   function      json               Print object to PrintWriter out as JSON.
 write-properties             function      java-utils         Write properties to file-able..
 writer-m                     function      monads             Monad describing computations that accumulate data...

X


Y


Z

 zipf                         function      probabilities.finite-distributions Returns the Zipf distribution in w...

Other

 -?>                          macro         core               Same as clojure.core/-> but returns nil as soon as...
 -?>>                         macro         core               Same as clojure.core/->> but returns nil as soon a...
 .?.                          macro         core               Same as clojure.core/.. but returns nil as soon as...
 <<                           macro         strint             Takes a single string argument and emits a str inv...
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.