Index of Public Functions and Variables - ()
This page has an alphabetical index of all the documented functions and variables
in
clojure-contrib.
A
*append* var io If true, writer, output-stream and spit will open ...
abs multimethod generic.math-functions Return the abs of x..
abs function math (abs n) is the absolute value of n.
acos multimethod generic.math-functions Return the acos of x..
action-translation-table var swing-utils Translation table for the make-action constructor..
add multimethod accumulators Add item to the accumulator acc. The exact meaning...
add-action-listener function swing-utils Adds an ActionLister to component. When the action...
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-loops function graph For each node n, add the edge n->n if not already ...
add-menu-item multimethod swing-utils Adds a menu item to the parent according to the it...
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...
append-output-stream function io Like output-stream but opens file for appending. ...
append-spit function io Like spit but appends to file..
append-writer function io Like writer but opens file for appending. Does no...
approx= function generic.math-functions Return true if the absolute value of the diffe...
as-file multimethod io Interpret a String or a java.io.File as a File. Bu...
as-object-name multimethod jmx Interpret an object as a JMX ObjectName..
as-properties function properties Convert any seq of pairs to a java.utils.Propertie...
as-str function string Like clojure.core/str, but if an argument is a key...
as-url multimethod io Coerces argument (URL, URI, or String) to a java.n...
asin multimethod generic.math-functions Return the asin of x..
assoc multimethod generic.collection Returns a new collection in which the values corre...
atan multimethod generic.math-functions Return the atan of x..
atan2 multimethod generic.math-functions Return the atan2 of x and y..
attribute-info function jmx Get the MBeanAttributeInfo for an attribute..
attribute-names function jmx All attribute names available on an MBean..
B
*buffer-size* var io Size, in bytes or characters, of the buffer used w...
*byte-array-type* var io Type object for a Java primitive byte array..
bind-continue function error-kit Special form to be used inside a 'with-handler'. C...
blank? function string True if s is nil, empty, or contains only whitespa...
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...
butlast function string Returns s without the last n characters. Returns ...
C
*char-array-type* var io Type object for a Java primitive char array..
*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...
capitalize function string Converts first character of the string to upper-ca...
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 multimethod generic.math-functions Return the ceil of x..
ceil multimethod 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 ...
chomp function string Removes all trailing newline \n or return \r chara...
choose function probabilities.finite-distributions Construct a distribution from an e...
chop function string Removes the last character of string, does nothing...
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...
codepoints function string Returns a sequence of integer Unicode code points ...
combinations function combinatorics All the unique ways of taking n different elements...
combine multimethod accumulators Combine the values of the accumulators acc1 and ac...
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...
conj multimethod generic.collection Returns a new collection resulting from adding all...
conjugate multimethod generic.math-functions Return the conjugate of x..
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...
copy multimethod io Copies input to output. Returns nil. Input may be...
cos multimethod generic.math-functions Return the cos of x..
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
*default-encoding* var io Name of the default encoding to use when reading &...
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-file function io Delete file f. Raise an exception if it fails unle...
delete-file-recursively function io Delete file f. If it's a directory, recursively de...
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 multimethod dataflow A 'readable' form of the cell.
dissoc multimethod generic.collection Returns a new collection in which the entries corr...
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...
dochars macro string bindings => [name string] Repeatedly executes bod...
docodepoints macro string bindings => [name string] Repeatedly executes bod...
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 function string Drops first n characters from s. Returns an empty...
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 multimethod generic.collection Returns an empty collection of the same kind as th...
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..
escape function string Returns a new String by applying cmap (a function ...
eval-cell multimethod dataflow Evaluate a dataflow cell. Return [changed, old va...
exact-integer-sqrt function math (exact-integer-sqrt n) expects a non-negative inte...
exp multimethod generic.math-functions Return the exp of x..
expect macro mock Use expect to redirect calls to dependent function...
exponential function probabilities.monte-carlo Transform a sequence of uniform random numb...
expt multimethod 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...
file function io Returns a java.io.File from string or file args..
file-str function io Concatenates args as strings and returns a java.io...
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-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...
flatten function seq DEPRECATED. Prefer clojure.core version. Takes any...
floor multimethod generic.math-functions Return the floor of x..
floor multimethod math (floor n) returns the greatest integer less than o...
flush function monadic-io-streams Flush.
fmap multimethod generic.functor Applies function f to each item in the data struct...
fnmap function fnmap Creates a fnmap, or functional map. A fnmap behav...
frequencies function seq DEPRECATED. Prefer clojure.core version. Returns a...
G
gcd function math (gcd a b) returns the greatest common divisor of a...
get multimethod generic.collection Returns the element of coll referred to by key. Ea...
get function string Gets the i'th character in string..
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 properties 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...
grep function string Filters elements of coll by a regular expression. ...
group-by function seq DEPRECATED. Prefer clojure.core version. Returns ...
guess-attribute-typename function jmx Guess the attribute typename for MBeanAttributeInf...
H
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...
includes? function seq Returns true if coll contains something equal (wit...
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..
input-stream function io Attempts to coerce its argument into an open java....
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...
into multimethod generic.collection Returns a new coll consisting of to-coll with all ...
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...
jmx->clj multimethod jmx Coerce JMX data structures into Clojure data. Hand...
jmx-url function jmx Build a JMX URL from options..
join function string Returns a string of all elements in coll, separate...
join-with function probabilities.finite-distributions Returns the distribution of (f x y...
json-str function json Converts x to a JSON-formatted string..
L
*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 multimethod generic.math-functions Return the log of x..
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...
lower-case function string Converts string to all lower-case..
ltrim function string Removes whitespace from the left side of string. D...
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...
make-parents function io Creates all parent directories of file..
map->attribute-infos function jmx Construct an MBeanAttributeInfo[] from a Clojure a...
map-str function string Apply f to each element of coll, concatenate all r...
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 ...
neg? multimethod generic.comparison Return true of x is negative..
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..
output-stream function io Attempts to coerce its argument into an open java....
P
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...
partition function string Splits the string into a lazy sequence of substrin...
partition-all function seq DEPRECATED. Prefer clojure.core version. Returns a...
partition-by function seq DEPRECATED. Prefer clojure.core version. Applies f...
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 ...
pos? multimethod generic.comparison Return true of x is positive..
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...
pow multimethod generic.math-functions Return the pow of x and y..
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*.
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?.
pwd function io Returns current working directory as a String. (L...
Q
qsym macro generic.arithmetic Create the qualified symbol corresponding to sym i...
R
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-elt function seq DEPRECATED. Prefer clojure.core/rand-nth. Return 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 io Like clojure.core/line-seq but opens f with reader...
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 properties Read properties from file-able..
read-supported function jmx Calls read to read an mbean property, *returning* ...
readable? function jmx Is attribute readable?.
reader function io Attempts to coerce its argument into an open java....
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...
reductions function seq DEPRECATED. Prefer clojure.core version. Returns a...
reject function probabilities.monte-carlo Return the distribution that results from r...
relative-path-string multimethod io Interpret a String or java.io.File as a relative p...
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..
repeat function string Returns a new String containing s repeated n times...
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...
replace-by function string Replaces all matches of re in s with the result of...
replace-char function string Replaces all instances of character a with charact...
replace-first-by function string Replace first match of re in s with the result of ...
replace-first-re function string Replace first match of re in s..
replace-first-str function string Replace first occurance of substring a with b in s...
replace-re function string Replaces all matches of re with replacement in s..
replace-str function string Replaces all instances of substring a with b in s..
returns function mock Creates or associates to an existing expectation h...
reverse function string Returns s with its characters reversed..
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...
rint multimethod generic.math-functions Return the rint of x..
rotations function seq Returns a lazy seq of all rotations of a seq.
round multimethod generic.math-functions Return the round of x..
round multimethod math (round n) rounds to the nearest integer. round alw...
rtrim function string Removes whitespace from the right side of string. ...
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...
seq multimethod generic.collection Returns a seq on the object s..
seq-on multimethod seq Returns a seq on the object s. Works like the buil...
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 properties Set some system properties. Nil clears a property..
set-val function monads Return a state-monad function that assumes the sta...
sgn multimethod generic.math-functions Return the sign of x (-1, 0, or 1)..
shuffle function seq DEPRECATED. Prefer clojure.core version. Return a ...
sin multimethod generic.math-functions Return the sin of x..
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...
slurp* function io Like clojure.core/slurp but opens f with reader..
source-cell? function dataflow Is this cell a source cell?.
spit function io Opposite of slurp. Opens f with writer, writes co...
split function string Splits string on a regular expression. Optional a...
split-lines function string Splits s on \n or \r\n..
spy macro logging Evaluates expr and writes the form and its result ...
sqr multimethod generic.math-functions Return the square of x..
sqrt multimethod generic.math-functions Return the sqrt of x..
sqrt multimethod math Square root, but returns exact number if possible..
stack-trace-info multimethod condition Returns header, stack-trace, and cause info from c...
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-filter multimethod stream-utils Return a new stream that contrains the elements of...
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-map multimethod stream-utils Return a new stream by mapping the function f on t...
stream-next multimethod stream-utils Returns a vector [next-value new-state] where next...
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...
subset? function set Is set1 a subset of set2?.
subsets function combinatorics All the subsets of items.
substring? function string True if s contains the substring..
summarize function profile Takes the raw data returned by with-profile-data a...
superset? function set Is set1 a superset of set2?.
swap-case function string Changes upper case characters to lower case and vi...
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...
tail function string Returns the last n characters of s..
take function string Take first n characters from s, up to the length o...
tan multimethod generic.math-functions Return the tan of x..
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...
to-byte-array multimethod io Converts argument into a Java byte array. Argumen...
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...
trim function string Removes whitespace from both ends of string..
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-...
upper-case function string Converts string to all upper-case..
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-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-in-reader macro io Opens a PushbackReader on f, binds it to *in*, and...
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-out-append-writer macro io Like with-out-writer but appends to file..
with-out-writer macro io Opens a writer on f, binds it to *out*, and evalut...
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 properties 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-lines function io Writes lines (a seq) to f, separated by newlines. ...
write-properties function properties Write properties to file-able..
writer function io Attempts to coerce its argument into an open java....
writer-m function monads Monad describing computations that accumulate data...
Z
zero? multimethod generic.comparison Return true of x is zero..
zipf function probabilities.finite-distributions Returns the Zipf distribution in w...
Other
* multimethod generic.arithmetic Return the product of all arguments. The minimal i...
+ multimethod generic.arithmetic Return the sum of all arguments. The minimal imple...
- multimethod generic.arithmetic Return the difference of the first argument and th...
-?> 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...
/ multimethod generic.arithmetic Return the quotient of the first argument and the ...
< multimethod generic.comparison Return true if each argument is smaller than the f...
<< macro strint Takes a single string argument and emits a str inv...
<= multimethod generic.comparison Return true if each arguments is smaller than or e...
= multimethod generic.comparison Return true if all arguments are equal. The minima...
> multimethod generic.comparison Return true if each argument is larger than the fo...
>= multimethod generic.comparison Return true if each argument is larger than or equ...