All Functions
1554 entries
#
Regex literal. #"pattern" compiles to java.util.regex.Pattern at read time.
reader-macroclojure.core
Var quote. #'foo resolves to the Var object itself.
reader-macroclojure.core
Anonymous function shorthand. #(+ %1 %2) expands to (fn [x y] (+ x y)).
reader-macroclojure.core
Reader conditional. #?(:clj expr :cljs expr) for .cljc files.
reader-macroclojure.core
Splicing reader conditional.
reader-macroclojure.core
Discard. #_form causes the reader to ignore the next form.
reader-macroclojure.core
Tagged literal for instants. #inst "2024-01-01".
reader-macroclojure.core
Tagged literal for UUIDs.
reader-macroclojure.core
Set literal. #{1 2 3} creates a persistent hash set.
reader-macroclojure.core
'
Quote. 'form expands to (quote form).
reader-macroclojure.core
*
Returns the product of nums. (*) returns 1. Does not auto-promote longs, will throw on overflow. See also: *'
functionclojure.core
Returns the product of nums. (*') returns 1. Supports arbitrary precision. See also: *
functionclojure.core
bound in a repl thread to the most recent value printed
valueclojure.core
bound in a repl thread to the second most recent value printed
valueclojure.core
bound in a repl thread to the third most recent value printed
valueclojure.core
The agent currently running an action on this thread, else nil
valueclojure.core
Map from ns alias to ns, if non-nil, it will be used to resolve read-time ns aliases instead of (ns-aliases *ns*). ...
valueclojure.tools.reader
- value
clojure.core
When set to logical false, 'assert' will omit assertion checks in compiled code. Defaults to true.
valueclojure.core
- value
clojure.core.match
The version info for Clojure core, as a map containing :major :minor :incremental and :qualifier keys. Feature releas...
valueclojure.core
- value
clojure.core.match
A sequence of the supplied command line arguments, or nil if none were supplied
valueclojure.core
Set to true when compiling files, false otherwise.
valueclojure.core
Specifies the directory where 'compile' will write out .class files. This directory must be in the classpath for 'comp...
valueclojure.core
A map of keys to options. Note, when binding dynamically make sure to merge with previous value. Supported options: ...
valueclojure.core
- value
clojure.java.javadoc
- value
clojure.xml
Map from reader tag symbols to data reader Vars. When Clojure starts, it searches for files named 'data_readers.clj' ...
valueclojure.core
Map from reader tag symbols to data reader Vars. Reader tags without namespace qualifiers are reserved for Clojure. ...
valueclojure.tools.reader
When no data reader is found for a tag and *default-data-reader-fn* is non-nil, it will be called with two arguments, ...
valueclojure.core
When no data reader is found for a tag and *default-data-reader-fn* is non-nil, it will be called with two arguments,...
valueclojure.tools.reader
- value
clojure.test.junit
bound in a repl thread to the most recent exception caught by the repl
valueclojure.core
A java.io.Writer object representing standard error for print operations. Defaults to System/err, wrapped in a PrintW...
valueclojure.core
- value
clojure.java.javadoc
- value
clojure.java.javadoc
The path of the file being evaluated, as a String. When there is no file, e.g. in the REPL, the value is not defined.
valueclojure.core
When set to true, output will be flushed whenever a newline is printed. Defaults to true.
valueclojure.core
- value
clojure.core
Overrides the default rules for choosing between logging directly or via an agent. Defaults to nil. See log* for detai...
valueclojure.tools.logging
A java.io.Reader object representing standard input for read operations. Defaults to System/in, wrapped in a LineNumb...
valueclojure.core
- value
clojure.test
- value
clojure.core.match
True by default. If set to false, no test functions will be created by deftest, set-test, or with-test. Use this to...
valueclojure.test
- value
clojure.java.javadoc
- value
clojure.core.match
An instance satisfying the clojure.tools.logging.impl/LoggerFactory protocol, which allows uniform access to an underl...
valueclojure.tools.logging
The default agent used for performing logging when direct logging is disabled. See log* for details.
valueclojure.tools.logging
Allow map matching syntax to check for IMatchLookup
valueclojure.core.match
- value
clojure.core
Flag to optimize performance over code size.
valueclojure.core.match
A clojure.lang.Namespace object representing the current namespace.
valueclojure.core
- value
clojure.java.browse
A java.io.Writer object representing standard output for print operations. Defaults to System/out, wrapped in an Outp...
valueclojure.core
The base to use for printing integers and rationals.
valueclojure.pprint
When set to logical true, objects will be printed in a way that preserves their type when read in later. Defaults t...
valueclojure.core
*print-length* controls how many items of each collection the printer will print. If it is bound to logical false, the...
valueclojure.core
*print-level* controls how many levels deep the printer will print nested objects. If it is bound to logical false, th...
valueclojure.core
If set to logical true, when printing an object, its metadata will also be printed in a form that can be read back by ...
valueclojure.core
The column at which to enter miser style. Depending on the dispatch table, miser style add newlines in more places to t...
valueclojure.pprint
*print-namespace-maps* controls whether the printer will print namespace map literal syntax. It defaults to false, but...
valueclojure.core
The pretty print dispatch function. Use with-pprint-dispatch or set-pprint-dispatch to modify.
multimethodclojure.pprint
Bind to true if you want write to use pretty printing
valueclojure.pprint
Print a radix specifier in front of integers and rationals. If *print-base* is 2, 8, or 16, then the radix specifier us...
valueclojure.pprint
When set to logical false, strings and characters will be printed with non-alphanumeric characters converted to the ap...
valueclojure.core
Pretty printing will try to avoid anything going beyond this column. Set it to nil to have pprint let the line be arbitr...
valueclojure.pprint
Don't print namespaces with symbols. This is particularly useful when pretty printing the results of macro expansions
valueclojure.pprint
- value
clojure.tools.reader
Defaults to true (or value specified by system property, see below) ***This setting implies that the full power of the...
valueclojure.core
Defaults to true. ***WARNING*** This setting implies that the full power of the reader is in play, including s...
valueclojure.tools.reader
- value
clojure.core
In the presence of recur we cannot apply code size optimizations
valueclojure.core.match
- value
clojure.java.javadoc
Bound to true in a repl thread
valueclojure.core
- value
clojure.test
- value
clojure.core.match
- value
clojure.xml
- value
clojure.core.server
- value
clojure.java.shell
- value
clojure.java.shell
- value
clojure.core
- value
clojure.xml
The maximum depth of stack traces to print when an Exception is thrown during a test. Defaults to nil, which means pr...
valueclojure.test
- value
clojure.xml
- value
clojure.core
- value
clojure.tools.reader
Enable syntax check of match macros
valueclojure.core.match
- value
clojure.test
- value
clojure.test
- value
clojure.test
The set of levels that will require using an agent when logging from within a running transaction. Defaults to #{:info...
valueclojure.tools.logging
While bound to true, compilations of +, -, *, inc, dec and the coercions will be done without overflow checks. While b...
valueclojure.core
- value
clojure.core
- value
clojure.test.junit
Default vector type. Can be rebound allowing emission of custom inline code for vector patterns, for exampl...
valueclojure.core.match
- value
clojure.core
When set to true, the compiler will emit warnings when reflection is needed to resolve Java method calls or field acce...
valueclojure.core
- value
clojure.core.match
+
-
If no ys are supplied, returns the negation of x, else subtracts the ys from x and returns the result. Does not auto-p...
functionclojure.core
If no ys are supplied, returns the negation of x, else subtracts the ys from x and returns the result. Supports arbitr...
functionclojure.core
Threads the expr through the forms. Inserts x as the second item in the first form, making a list of it if it is not a...
macroclojure.core
Threads the expr through the forms. Inserts x as the last item in the first form, making a list of it if it is not a ...
macroclojure.core
Positional factory function for class clojure.core.match.AppPattern.
functionclojure.core.match
Positional factory function for class clojure.core.ArrayChunk.
functionclojure.core
Positional factory function for class clojure.reflect.AsmReflector.
functionclojure.reflect
Positional factory function for class clojure.core.cache.BasicCache.
functionclojure.core.cache
Positional factory function for class clojure.core.match.BindNode.
functionclojure.core.match
Positional factory function for class clojure.core.reducers.Cat.
functionclojure.core.reducers
Positional factory function for class clojure.data.xml.event.CDataEvent.
functionclojure.data.xml.event
Positional factory function for class clojure.data.xml.event.CharsEvent.
functionclojure.data.xml.event
Positional factory function for class clojure.data.xml.event.CommentEvent.
functionclojure.data.xml.event
Positional factory function for class clojure.reflect.Constructor.
functionclojure.reflect
Positional factory function for class clojure.core.Eduction.
functionclojure.core
Positional factory function for class clojure.data.xml.event.EmptyElementEvent.
functionclojure.data.xml.event
- function
clojure.data.xml.event
Positional factory function for class clojure.core.match.FailNode.
functionclojure.core.match
Positional factory function for class clojure.reflect.Field.
functionclojure.reflect
Positional factory function for class clojure.core.cache.FIFOCache.
functionclojure.core.cache
Positional factory function for class clojure.core.cache.FnCache.
functionclojure.core.cache
Positional factory function for class clojure.core.match.GuardPattern.
functionclojure.core.match
Positional factory function for class clojure.reflect.JavaReflector.
functionclojure.reflect
Positional factory function for class clojure.core.match.LeafNode.
functionclojure.core.match
Positional factory function for class clojure.core.cache.LIRSCache.
functionclojure.core.cache
Positional factory function for class clojure.core.match.LiteralPattern.
functionclojure.core.match
Positional factory function for class clojure.core.cache.LRUCache.
functionclojure.core.cache
Positional factory function for class clojure.core.cache.LUCache.
functionclojure.core.cache
Positional factory function for class clojure.core.match.MapKeyPattern.
functionclojure.core.match
Positional factory function for class clojure.core.match.MapPattern.
functionclojure.core.match
Positional factory function for class clojure.reflect.Method.
functionclojure.reflect
Positional factory function for class clojure.core.match.OrPattern.
functionclojure.core.match
Positional factory function for class clojure.core.match.PatternMatrix.
functionclojure.core.match
Positional factory function for class clojure.core.match.PatternRow.
functionclojure.core.match
Positional factory function for class clojure.data.priority_map.PersistentPriorityMap.
functionclojure.data.priority-map
Positional factory function for class clojure.core.memoize.PluggableMemoization.
functionclojure.core.memoize
Positional factory function for class clojure.core.match.PredicatePattern.
functionclojure.core.match
Positional factory function for class clojure.data.xml.event.QNameEvent.
functionclojure.data.xml.event
Positional factory function for class clojure.data.json.ReaderPBR.
functionclojure.data.json
Positional factory function for class clojure.core.match.RestPattern.
functionclojure.core.match
Positional factory function for class clojure.core.memoize.RetryingDelay.
functionclojure.core.memoize
Positional factory function for class clojure.core.match.SeqPattern.
functionclojure.core.match
Positional factory function for class clojure.core.cache.SoftCache.
functionclojure.core.cache
Positional factory function for class clojure.data.xml.event.StartElementEvent.
functionclojure.data.xml.event
Positional factory function for class clojure.data.json.StringPBR.
functionclojure.data.json
Positional factory function for class clojure.core.match.SwitchNode.
functionclojure.core.match
Positional factory function for class clojure.core.cache.TTLCacheQ.
functionclojure.core.cache
Positional factory function for class clojure.core.Vec.
functionclojure.core
Positional factory function for class clojure.core.VecNode.
functionclojure.core
Positional factory function for class clojure.core.VecSeq.
functionclojure.core
Positional factory function for class clojure.core.match.VectorPattern.
functionclojure.core.match
Positional factory function for class clojure.core.match.WildcardPattern.
functionclojure.core.match
- function
clojure.core
- function
clojure.core
Print object to Appendable out as JSON
protocol-methodclojure.data.json
.
/
If no denominators are supplied, returns 1/numerator, else returns numerator divided by all of the denominators.
functionclojure.core
<
Returns non-nil if nums are in monotonically increasing order, otherwise false.
functionclojure.core
takes a val from port. Must be called inside a (go ...) block. Will return nil if closed. Will park if nothing is avai...
functionclojure.core.async
takes a val from port. Will return nil if closed. Will block if nothing is available. Not intended for use in direct...
functionclojure.core.async
Returns non-nil if nums are in monotonically non-decreasing order, otherwise false.
functionclojure.core
=
>
Returns non-nil if nums are in monotonically decreasing order, otherwise false.
functionclojure.core
puts a val into port. nil values are not allowed. Must be called inside a (go ...) block. Will park if no buffer space...
functionclojure.core.async
puts a val into port. nil values are not allowed. Will block if no buffer space is available. Returns true unless port...
functionclojure.core.async
Returns non-nil if nums are in monotonically non-increasing order, otherwise false.
functionclojure.core
@
Deref. @ref expands to (deref ref).
reader-macroclojure.core
A
Returns the absolute value of a. If a is Long/MIN_VALUE => Long/MIN_VALUE If a is a double and zero => +0.0 If a i...
functionclojure.core
Returns a fn that, given an instance of a structmap with the basis, returns the value at the key. The key must be in ...
functionclojure.core
Returns a clone of the Java array. Works on arrays of known types.
functionclojure.core
Returns the arc cosine of a, in the range 0.0 to pi. If a is ##NaN or |a|>1 => ##NaN See: https://docs.oracle.com/ja...
functionclojure.math
- function
clojure.core.match
Returns the sum of x and y, throws ArithmeticException on overflow. See: https://docs.oracle.com/javase/8/docs/api/jav...
functionclojure.math
Given a lib that is not yet on the repl classpath, make it available by downloading the library if necessary and addin...
functionclojure.repl.deps
Given lib-coords, a map of lib to coord, will resolve all transitive deps for the libs together and add them to the re...
functionclojure.repl.deps
Adds to the list of local Javadoc paths.
functionclojure.java.javadoc
Adds to the list of remote Javadoc URLs. package-prefix is the beginning of the package name that has docs at this UR...
functionclojure.java.javadoc
adds f, a fn of one argument, to the tap set. This function will be called with anything sent via tap>. This function ...
functionclojure.core
Adds a watch function to an agent/atom/var/ref reference. The watch fn must be a fn of 4 args: a key, the reference, i...
functionclojure.core
Adds ch as an input to the mix
functionclojure.core.async
- protocol-method
clojure.core.async
Creates and returns an agent with an initial value of state and zero or more options (in any order): :meta metadata...
functionclojure.core
Returns the exception thrown during an asynchronous action of the agent if the agent is failed. Returns nil if the ag...
functionclojure.core
Returns the value at the index/indices. Works on Java arrays of all types.
functionclojure.core
Put all occurring xmlns into the root
functionclojure.data.xml.process
Returns the length of the Java array. Works on arrays of all types.
functionclojure.core
Add an alias in the current namespace to another namespace. Arguments are two symbols: the alias to be used, and the...
functionclojure.core
Define a Clojure namespace aliases for xmlns uris. This sets up the current namespace for reading qnames denoted with...
functionclojure.data.xml.name
Returns a sequence of all namespaces.
functionclojure.core
- function
clojure.core.match
Makes a single choice between one of several channel operations, as if by alts!, returning the value of the result exp...
macroclojure.core.async
Like alt!, except as if by alts!!, will block until completed, and not intended for use in (go ...) blocks.
macroclojure.core.async
Must be called in a transaction. Sets the in-transaction-value of ref to: (apply fun in-transaction-value-of-ref ar...
functionclojure.core
Atomically sets the metadata for a namespace/var/ref/agent/atom to be: (apply f its-current-meta args) f must be f...
functionclojure.core
Atomically alters the root binding of var v by applying f to its current value plus any args
functionclojure.core
Completes at most one of several channel operations. Must be called inside a (go ...) block. ports is a vector of chan...
functionclojure.core.async
Like alts!, except takes will be made as if by <!!, and puts will be made as if by >!!, will block until completed. ...
functionclojure.core.async
Maps an expression across an array a, using an index named idx, and return value named ret, initialized to a clone of ...
macroclojure.core
Returns the immediate and indirect parents of tag, either via a Java type inheritance relationship or a relationship e...
functionclojure.core
Evaluates exprs one at a time, from left to right. If a form returns logical false (nil or false), and returns that va...
macroclojure.core
Returns true given any argument.
functionclojure.core
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
.adds x to acc and returns acc
functionclojure.core.reducers
Inserts the item as the rightmost child of the node at this loc, without moving
functionclojure.zip
Applies fn f to the argument list formed by prepending intervening arguments to args.
functionclojure.core
- macro
clojure.data.priority-map
For use in macros. argv is an argument list, as in defn. expr is a quoted expression using the symbols in argv. val...
functionclojure.template
Given a regular expression or stringable thing, return a seq of all public definitions in all currently-loaded namespace...
functionclojure.repl
Checks multiple assertions with a template expression. See clojure.template/do-template for an explanation of templa...
macroclojure.test
Reduces an expression across an array a, using an index named idx, and return value named ret, initialized to init, se...
macroclojure.core
Constructs an array-map. If any keys are equal, they are handled as if by repeated uses of assoc.
functionclojure.core
- function
clojure.core.match
Binds name to expr, evaluates the first form in the lexical context of that binding, then binds name to that result, r...
macroclojure.core
Coerce argument to a file.
protocol-methodclojure.java.io
- value
clojure.core.match
- function
clojure.data.xml.name
Take an as-file-able thing and return a string if it is a relative path, else IllegalArgumentException.
functionclojure.java.io
Coerce argument to a URL.
protocol-methodclojure.java.io
Sets the value at the index/indices. Works on Java arrays of reference types. Returns val.
functionclojure.core
Sets the value at the index/indices. Works on arrays of boolean. Returns val.
functionclojure.core
Sets the value at the index/indices. Works on arrays of byte. Returns val.
functionclojure.core
Sets the value at the index/indices. Works on arrays of char. Returns val.
functionclojure.core
Sets the value at the index/indices. Works on arrays of double. Returns val.
functionclojure.core
Sets the value at the index/indices. Works on arrays of float. Returns val.
functionclojure.core
Sets the value at the index/indices. Works on arrays of int. Returns val.
functionclojure.core
Sets the value at the index/indices. Works on arrays of long. Returns val.
functionclojure.core
Sets the value at the index/indices. Works on arrays of short. Returns val.
functionclojure.core
Returns the arc sine of an angle, in the range -pi/2 to pi/2. If a is ##NaN or |a|>1 => ##NaN If a is zero => zero w...
functionclojure.math
Evaluates expression x and throws an AssertionError with optional message if x does not evaluate to logical true. A...
macroclojure.core
Returns generic assertion code for any test, including macros, Java method calls, or isolated symbols.
functionclojure.test
- multimethod
clojure.test
Returns generic assertion code for any functional predicate. The 'expected' argument to 'report' will contains the or...
functionclojure.test
assoc[iate]. When applied to a map, returns a new map of the same (hashed/sorted) type, that contains the mapping of...
functionclojure.core
When applied to a transient map, adds mapping of key(s) to val(s). When applied to a transient vector, sets the val at...
functionclojure.core
Associates a value in a nested associative structure, where ks is a sequence of keys and v is the new value and return...
functionclojure.core
Returns true if coll implements Associative
functionclojure.core
Returns the arc tangent of a, in the range of -pi/2 to pi/2. If a is ##NaN => ##NaN If a is zero => zero with the sa...
functionclojure.math
Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta). Compute...
functionclojure.math
Creates and returns an Atom with an initial value of x and zero or more options (in any order): :meta metadata-map ...
functionclojure.core
- function
clojure.inspector
- value
clojure.xml
Blocks the current thread (indefinitely!) until all actions dispatched thus far, from this thread or agent, to the age...
functionclojure.core
Blocks the current thread until all actions dispatched thus far (from this thread or agent) to the agents have occurre...
functionclojure.core
- function
clojure.core
B
Pre-allocated exception used for backtracing
valueclojure.core.match
- function
clojure.core.match
- function
clojure.core.match
Returns the immediate superclass and direct interfaces of c, if any
functionclojure.core
Returns a pluggable basic cache initialized to `base`
functionclojure.core.cache
Takes a Java object and returns a read-only implementation of the map abstraction based upon its JavaBean properties.
functionclojure.core
Coerce to BigDecimal
functionclojure.core
Coerce to BigInt
functionclojure.core
Coerce to BigInteger
functionclojure.core
- function
clojure.core.match
- function
clojure.core.match
binding => var-symbol init-expr Creates new bindings for the (already-existing) vars, with the supplied initial val...
macroclojure.core
Bitwise and
functionclojure.core
Bitwise and with complement
functionclojure.core
Clear bit at index n
functionclojure.core
Flip bit at index n
functionclojure.core
Bitwise complement
functionclojure.core
Bitwise or
functionclojure.core
Set bit at index n
functionclojure.core
Bitwise shift left
functionclojure.core
Bitwise shift right
functionclojure.core
Test bit at index n
functionclojure.core
Bitwise exclusive or
functionclojure.core
True if s is nil, empty, or contains only whitespace.
functionclojure.string
Coerce to boolean
functionclojure.core
Creates an array of booleans
functionclojure.core
Return true if x is a Boolean
functionclojure.core
Casts to boolean[]
functionclojure.core
Returns a function defined by the given fntail, which will install the same bindings in effect as in the thread at the...
macroclojure.core
Returns a function, which will install the same bindings in effect as in the thread at the time bound-fn* was called a...
functionclojure.core
Returns true if all of the vars provided as arguments have any bound value, root or thread-local. Implies that deref'...
functionclojure.core
If coll is counted? returns its count, else will count at most the first n elements of coll using its seq
functionclojure.core
Returns true if the node at loc is a branch
functionclojure.zip
Open url in a browser
functionclojure.java.browse
Returns a fixed buffer of size n. When full, puts will block/park.
functionclojure.core.async
Builds a function that, given a function, returns a pluggable memoized version of it. `build-memoizer` takes a cache...
functionclojure.core.memoize
Return a seq of all but the last item in coll, in linear time
functionclojure.core
Coerce to byte
functionclojure.core
Creates an array of bytes
functionclojure.core
Casts to bytes[]
functionclojure.core
Return true if x is a byte array
functionclojure.core
C
This is the protocol describing the basic cache capability.
valueclojure.core.cache
- function
clojure.core.match
Converts first character of the string to upper-case, all other characters to lower-case.
functionclojure.string
Takes an expression, and a set of clauses. Each clause can take the form of either: test-constant result-expr (...
macroclojure.core
- function
clojure.core.match
Throws a ClassCastException if x is not a c, else returns x.
functionclojure.core
A transducer which concatenates the contents of each input, which must be a collection, into the reduction.
functionclojure.core
A high-performance combining fn that yields the catenation of the reduced values. The result is reducible, foldable, s...
functionclojure.core.reducers
Catch clause inside try.
special-formclojure.core
- function
clojure.core.match
Returns the cube root of a. If a is ##NaN => ##NaN If a is ##Inf or ##-Inf => a If a is zero => zero with sign mat...
functionclojure.math
Create a CData node
functionclojure.data.xml.node
Returns the smallest double greater than or equal to a, and equal to a mathematical integer. If a is ##NaN or ##Inf ...
functionclojure.math
Creates a channel with an optional buffer, an optional transducer (like (map f), (filter p) etc or a composition there...
functionclojure.core.async
Coerce to char
functionclojure.core
Creates an array of chars
functionclojure.core
Returns escape string for char or nil if none
valueclojure.core
Returns name string for char or nil if none
valueclojure.core
Return true if x is a Character
functionclojure.core
Casts to chars[]
functionclojure.core
- function
clojure.core.match
- function
clojure.core.match
- multimethod
clojure.core.match
Returns a seq of the children of node at loc, which must be a branch
functionclojure.zip
- function
clojure.core.match
- function
clojure.core
- function
clojure.core
- function
clojure.core
- function
clojure.core
- function
clojure.core
- function
clojure.core
- function
clojure.core
- function
clojure.core
An implementation of a Common Lisp compatible format function. cl-format formats its arguments to an output stream or st...
functionclojure.pprint
Returns the Class of x
functionclojure.core
Returns true if x is an instance of Class
functionclojure.core
Returns a sequence of File objects of the elements on the classpath. Defaults to searching for instances of java.net...
functionclojure.java.classpath
Returns a sequence of File objects for the directories on classpath.
functionclojure.java.classpath
Returns a sequence of JarFile objects for the JAR files on classpath.
functionclojure.java.classpath
- value
clojure.reflect
- function
clojure.core.cache
- function
clojure.core.match
Returns clojure version as a printable string.
functionclojure.core
- value
clojure.tools.logging
Closes a channel. The channel will no longer accept any puts (they will be ignored). Data in the channel remains avail...
functionclojure.core.async
The pretty print dispatch function for pretty printing Clojure code.
multimethodclojure.pprint
- value
clojure.data.json
Coerce between various 'resource-namish' things.
valueclojure.java.io
- protocol-method
clojure.core.reducers
- protocol-method
clojure.core.protocols
Returns true if x implements IPersistentCollection
functionclojure.core
- function
clojure.inspector
- value
clojure.core.reducers
Protocol for collection types that can implement reduce faster than first/next recursion. Called by clojure.core/reduc...
valueclojure.core.protocols
- function
clojure.core.match
- function
clojure.core.match
Ignores body, yields nil
macroclojure.core
Must be called in a transaction. Sets the in-transaction-value of ref to: (apply fun in-transaction-value-of-ref ar...
functionclojure.core
Takes a set of functions and returns a fn that is the composition of those fns. The returned fn takes a variable numb...
functionclojure.core
Returns an implementation of java.util.Comparator based upon pred.
functionclojure.core
Comparator. Returns a negative number, zero, or a positive number when x is logically 'less than', 'equal to', or 'gre...
functionclojure.core
Atomically sets the value of atom to newval if and only if the current value of the atom is identical to oldval. Retur...
functionclojure.core
Compiles the namespace named by the symbol lib into a set of classfiles. The source for the lib must be in a proper ...
functionclojure.core
- function
clojure.core.match
Takes a fn f and returns a fn that takes the same arguments as f, has the same effects, if any, and returns the opposi...
functionclojure.core
Takes a reducing function f of 2 args and returns a fn suitable for transduce by adding an arity-1 signature that call...
functionclojure.core
Composes two fixture functions, creating a new fixture function that combines their behavior.
functionclojure.test
Returns a lazy seq representing the concatenation of the elements in the supplied colls.
functionclojure.core
Takes a set of test/expr pairs. It evaluates each test one at a time. If a test returns logical true, cond evaluates ...
macroclojure.core
Takes an expression and a set of test/form pairs. Threads expr (via ->) through each form for which the corresponding ...
macroclojure.core
Takes an expression and a set of test/form pairs. Threads expr (via ->>) through each form for which the corresponding...
macroclojure.core
Takes a binary predicate, an expression, and a set of clauses. Each clause can take the form of either: test-expr r...
macroclojure.core
conj[oin]. Returns a new collection with the xs 'added'. (conj nil item) returns (item). (conj coll) returns col...
functionclojure.core
Adds x to the transient collection, and return coll. The 'addition' may happen at different 'places' depending on the ...
functionclojure.core
Returns a new seq where x is the first element and seq is the rest.
functionclojure.core
Returns a function that takes any number of arguments and returns x.
functionclojure.core
Takes a proxy class and any arguments for its superclass ctor and creates and returns an instance of the proxy.
functionclojure.core
- function
clojure.core.match
- function
clojure.core.match
Returns true if key is present in the given collection, otherwise returns false. Note that for numerically indexed co...
functionclojure.core
- value
clojure.xml
- value
clojure.xml
Copies input to output. Returns nil or throws IOException. Input may be an InputStream, Reader, File, byte[], char[],...
functionclojure.java.io
Returns a double with the magnitude of the first argument and the sign of the second. See: https://docs.oracle.com/j...
functionclojure.math
Returns the cosine of an angle. If a is ##NaN, ##-Inf, ##Inf => ##NaN See: https://docs.oracle.com/javase/8/docs/api...
functionclojure.math
Returns the hyperbolic cosine of x, (e^x + e^-x)/2. If x is ##NaN => ##NaN If x is ##Inf or ##-Inf => ##Inf If x i...
functionclojure.math
Returns the number of items in the collection. (count nil) returns 0. Also works on strings, arrays, and Java Collect...
functionclojure.core
- multimethod
clojure.core.match
Returns true if coll implements count in constant time
functionclojure.core
Create a new namespace named by the symbol if one doesn't already exist, returns it or the already-existing namespace ...
functionclojure.core
Returns a structure basis object.
functionclojure.core
Return the current basis, which may have been modified since runtime launch.
functionclojure.java.basis
Returns a lazy (infinite!) sequence of repetitions of the items in coll.
functionclojure.core
D
- function
clojure.core.match
- value
clojure.core.protocols
return a representation of o as data (default identity)
protocol-methodclojure.core.protocols
Attempts to return x as data. datafy will return the value of clojure.core.protocols/datafy. If the value has been t...
functionclojure.datafy
Debug level logging using print-style args. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.
macroclojure.tools.logging
Debug level logging using format. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.
macroclojure.tools.logging
Returns a number one less than num. Does not auto-promote longs, will throw on overflow. See also: dec'
functionclojure.core
Returns a number one less than num. Supports arbitrary precision. See also: dec
functionclojure.core
Returns true if n is a BigDecimal
functionclojure.core
defs the supplied var names with no bindings, useful for making forward declarations.
macroclojure.core
Returns a decremented by 1, throws ArithmeticException on overflow. See: https://docs.oracle.com/javase/8/docs/api/jav...
functionclojure.math
Returns a lazy sequence removing consecutive duplicates in coll. Returns a transducer when no collection is provided.
functionclojure.core
Creates and interns a global var.
special-formclojure.core
- function
clojure.core.match
Default map of data reader functions provided by Clojure. May be overridden by binding *data-readers*.
valueclojure.core
Default map of data reader functions provided by Clojure. May be overridden by binding *data-readers*
valueclojure.tools.reader
- value
clojure.data.json
- function
clojure.core.match
- value
clojure.java.io
- value
clojure.data.json
- macro
clojure.core.async
- macro
clojure.core.cache
Experimental - like defmacro, except defines a named function whose body is the expansion, calls to which may be expan...
macroclojure.core
Creates a new Java interface with the given name and method sigs. The method return types and parameter types may be s...
macroclojure.core
Like defn, but the resulting function name is declared as a macro and will be used as a macro by the compiler when it ...
macroclojure.core
Creates and installs a new method of multimethod associated with dispatch-value.
macroclojure.core
Creates a new multimethod with the associated dispatch function. The docstring and attr-map are optional. Options a...
macroclojure.core
Same as (def name (fn [params* ] exprs*)) or (def name (fn ([params* ] exprs*)+)) with any doc-string or attrs added...
macroclojure.core
same as defn, yielding non-public def
macroclojure.core
defs name to have the root value of the expr iff the named var has no root value, else expr is unevaluated
macroclojure.core
- macro
clojure.core.match
A protocol is a named set of named methods and their signatures: (defprotocol AProtocolName ;optional doc string ...
macroclojure.core
(defrecord name [fields*] options* specs*) Options are expressed as sequential keywords and arguments (in any order)...
macroclojure.core
Same as (def name (create-struct keys...))
macroclojure.core
Defines a test function with no arguments. Test functions may call other tests, so tests may be composed. If you com...
macroclojure.test
Like deftest but creates a private var.
macroclojure.test
(deftype name [fields*] options* specs*) Options are expressed as sequential keywords and arguments (in any order). ...
macroclojure.core
Takes a body of expressions and yields a Delay object that will invoke the body only the first time it is forced (with...
macroclojure.core
returns true if x is a Delay created with delay
functionclojure.core
Delete file f. If silently is nil or false, raise an exception on failure, else return the value of silently.
functionclojure.java.io
Delivers the supplied value to the promise, releasing any pending derefs. A subsequent call to deliver on a promise wi...
functionclojure.core
Given a string representation of a fn class, as in a stack trace element, returns a readable version.
functionclojure.main
Given a string representation of a fn class, as in a stack trace element, returns a readable version.
functionclojure.repl
Returns the denominator part of a Ratio.
functionclojure.core
Also reader macro: @ref/@agent/@var/@atom/@delay/@future/@promise. Within a transaction, returns the in-transaction-va...
functionclojure.core
Establishes a parent/child relationship between parent and tag. Parent must be a namespace-qualified symbol or keyword...
functionclojure.core
Returns the immediate and indirect children of tag, through a relationship established via derive. h must be a hierarc...
functionclojure.core
- function
clojure.core
Recursively compares a and b, returning a tuple of [things-only-in-a things-only-in-b things-in-both]. Comparison ru...
functionclojure.data
Implementation detail. Subject to change.
valueclojure.data
Implementation detail. Subject to change.
protocol-methodclojure.data
Return a set that is the first set without elements of the remaining sets
functionclojure.set
- function
clojure.core.match
Prints a sorted directory of public vars in a namespace
macroclojure.repl
Returns a sorted seq of symbols naming public vars in a namespace or namespace alias. Looks for aliases in *ns*
functionclojure.repl
Modifies a SAXParser to disable external entity resolution to prevent XXE attacks
functionclojure.xml
disj[oin]. Returns a new set of the same (hashed/sorted) type, that does not contain key(s).
functionclojure.core
disj[oin]. Returns a transient set of the same (hashed/sorted) type, that does not contain key(s).
functionclojure.core
dissoc[iate]. Returns a new map of the same (hashed/sorted) type, that does not contain a mapping for key(s).
functionclojure.core
Returns a transient map that doesn't contain a mapping for key(s).
functionclojure.core
Returns a lazy sequence of the elements of coll with duplicates removed. Returns a stateful transducer when no collect...
functionclojure.core
Returns true if no two of the arguments are =
functionclojure.core
Evaluates expressions in order, returning the last.
special-formclojure.core
- function
clojure.core.async
returns derefable [val port] if immediate, nil if enqueued
functionclojure.core.async
- protocol-method
clojure.reflect
Add file and line information to a test result and call report. If you are writing a custom assert-expr method, call ...
functionclojure.test
Repeatedly copies expr (in a do block) for each group of arguments in values. values are automatically partitioned by...
macroclojure.template
When lazy sequences are produced via functions that have side effects, any effects other than those needed to produce ...
functionclojure.core
Prints documentation for a var or special form given its name, or for a spec if given a keyword
macroclojure.repl
When lazy sequences are produced via functions that have side effects, any effects other than those needed to produce ...
functionclojure.core
Repeatedly executes body (presumably for side-effects) with bindings and filtering as provided by "for". Does not ret...
macroclojure.core
Runs the exprs (in an implicit do) in a transaction that encompasses exprs and any nested calls. Starts a transaction...
macroclojure.core
bindings => name n Repeatedly executes body (presumably for side-effects) with name bound to integers from 0 throug...
macroclojure.core
Evaluates x then calls all of the methods and functions with the value of x supplied at the front of the given argumen...
macroclojure.core
Coerce to double
functionclojure.core
Creates an array of doubles
functionclojure.core
Return true if x is a Double
functionclojure.core
Casts to double[]
functionclojure.core
Returns the loc of the leftmost child of the node at this loc, or nil if no children
functionclojure.zip
Returns a laziness-preserving sequence of all but the first n items in coll. Returns a stateful transducer when no col...
functionclojure.core
Elides the first n values from the reduction of coll.
functionclojure.core.reducers
Return a lazy sequence of all but the last n (default 1) items in coll
functionclojure.core
- function
clojure.core.match
Returns a lazy sequence of the items in coll starting from the first item for which (pred item) returns logical false....
functionclojure.core
Returns a buffer of size n. When full, puts will complete but val will be dropped (no transfer).
functionclojure.core.async
E
Constant for e, the base for natural logarithms. See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#E
valueclojure.math
REPL utility. Prints a brief stack trace for the root cause of the most recent exception.
functionclojure.stacktrace
Replaces the node at this loc with the value of (f node args)
functionclojure.zip
Returns a reducible/iterable application of the transducers to the items in coll. Transducers are applied in order as ...
functionclojure.core
Create an xml Element from content varargs
functionclojure.data.xml.node
- value
clojure.xml
Create an xml element from a content collection and optional metadata
functionclojure.data.xml.node
- function
clojure.test.junit
Get xmlns environment from element
functionclojure.data.xml.event
- function
clojure.data.xml.event
- function
clojure.data.xml.node
Prints the given Element tree as XML text to stream. Options: :encoding <str> Character encoding to use ...
functionclojure.data.xml
- function
clojure.xml
- function
clojure.xml
Take the list of vars and sequence of unprocessed clauses and return the pattern matrix. The pattern matrix contains ...
functionclojure.core.match
Returns the corresponding pattern for the given syntax. Dispatches on the class of its argument. For example, `[(:or 1...
multimethodclojure.core.match
Handles patterns wrapped in the special list syntax. Dispatches on the first or second keyword in the list. For exampl...
multimethodclojure.core.match
- function
clojure.core.match
Emits the Element to String and returns it. Options: :encoding <str> Character encoding to use :doct...
functionclojure.data.xml
Returns an empty collection of the same category as coll, or nil
functionclojure.core
- function
clojure.core.match
- value
clojure.core
- function
clojure.core.match
Case 1: If there are no pattern rows to match, then matching always fails
functionclojure.core.match
Returns true if coll has no items. To check the emptiness of a seq, please use the idiom (seq x) rather than (not (emp...
functionclojure.core
Returns true if the specific logging level is enabled. Use of this macro should only be necessary if one needs to exe...
macroclojure.tools.logging
- value
clojure.data.xml.event
Returns true if loc represents the end of a depth-first walk
functionclojure.zip
True if s ends with substr.
functionclojure.string
Must be called in a transaction. Protects the ref from modification by other transactions. Returns the in-transaction...
functionclojure.core
If x is already reduced?, returns it, else returns (reduced x)
functionclojure.core
Returns a seq on a java.util.Enumeration
functionclojure.core
Implementation detail. Subject to change.
protocol-methodclojure.data
Implementation detail. Subject to change.
valueclojure.data
Helper to return an error message string from an exception.
functionclojure.main
Error level logging using print-style args. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.
macroclojure.tools.logging
- function
clojure.test.junit
Returns the error-handler of agent a, or nil if there is none. See set-error-handler!
functionclojure.core
Returns the error-mode of agent a. See set-error-mode!
functionclojure.core
Error level logging using format. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.
macroclojure.tools.logging
Return a new string, using cmap to escape each character ch from s as follows: If (cmap ch) is nil, append ch ...
functionclojure.string
Evaluates the form data structure (not text!) and returns the result.
functionclojure.core
Returns true if there are an even number of forms in a binding vector
functionclojure.core.specs.alpha
Returns true if n is even, throws an exception if n is not an integer
functionclojure.core
- function
clojure.data.xml.event
- function
clojure.data.xml.event
- function
clojure.data.xml.event
Parses an XML input source into a lazy sequence of pull events. Input source can be a java.io.InputStream or java.io.Re...
functionclojure.data.xml
Returns a lazy tree of Element objects for the given seq of Event objects. See source-seq and parse.
functionclojure.data.xml.tree
Takes a set of predicates and returns a function f that returns true if all of its composing predicates return a logic...
functionclojure.core
Returns true if (pred x) is logical true for every x in coll, else false.
functionclojure.core
Removes an entry from the cache
protocol-methodclojure.core.cache
Returns the cause of ex if ex is a Throwable. Otherwise returns nil.
functionclojure.core
Returns exception data (a map) if ex is an IExceptionInfo. Otherwise returns nil.
functionclojure.core
Create an instance of ExceptionInfo, a RuntimeException subclass that carries a map of additional data.
functionclojure.core
Returns the message attached to ex if ex is a Throwable. Otherwise returns nil.
functionclojure.core
Returns a string from exception data, as produced by ex-triage. The first line summarizes the exception phase and loca...
functionclojure.main
Returns an analysis of the phase, error, cause, and location of an error that occurred based on Throwable data, as ret...
functionclojure.main
Execute a command and on successful exit, return the captured output, else throw RuntimeException. Args are the same a...
functionclojure.java.process
- function
clojure.core.match
- function
clojure.core.match
Given a Process (the output of 'start'), return a reference that can be used to wait for process completion then retur...
functionclojure.java.process
Returns Euler's number e raised to the power of a. If a is ##NaN => ##NaN If a is ##Inf => ##Inf If a is ##-Inf =>...
functionclojure.math
- function
clojure.core.match
Returns e^x - 1. Near 0, expm1(x)+1 is more accurate to e^x than exp(x). If x is ##NaN => ##NaN If x is ##Inf => #In...
functionclojure.math
- function
clojure.core.match
Implementations of protocol methods can be provided using the extend construct: (extend AType AProtocol {:fo...
functionclojure.core
Useful when you want to provide several implementations of the same protocol all at once. Takes a single protocol and ...
macroclojure.core
A macro that expands into an extend call. Useful when you are supplying the definitions explicitly inline, extend-type...
macroclojure.core
Returns a collection of the types explicitly extending protocol
functionclojure.core
Returns true if atype extends protocol
functionclojure.core
F
- function
clojure.core.match
- function
clojure.test.junit
Returns true if x is the value false, false otherwise.
functionclojure.core
Fatal level logging using print-style args. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.
macroclojure.tools.logging
Fatal level logging using format. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.
macroclojure.tools.logging
Same as (first (first x))
functionclojure.core
Works the same as the basic memoization function (i.e. `memo` and `core.memoize` except when a given threshold is bre...
functionclojure.core.memoize
Returns a FIFO cache with the cache and FIFO queue initialized to `base` -- the queue is filled as the values are pul...
functionclojure.core.cache
Returns a java.io.File, passing each arg to as-file. Multiple-arg versions treat the first argument as parent and su...
functionclojure.java.io
A tree seq on java.io.Files
functionclojure.core
Returns a sequence of Strings naming the non-directory entries in the JAR file.
functionclojure.java.classpath
Returns a lazy sequence of the items in coll for which (pred item) returns logical true. pred must be free of side-eff...
functionclojure.core
Retains values in the reduction of coll for which (pred val) returns logical true. Foldable.
functionclojure.core.reducers
Returns a vector of the items in coll for which (pred item) returns logical true. pred must be free of side-effects.
functionclojure.core
Finally clause inside try, runs on exit.
special-formclojure.core
Returns the map entry for key, or nil if key not present.
functionclojure.core
Prints documentation for any var whose documentation or name contains a match for re-string-or-pattern
functionclojure.repl
- function
clojure.core.match
Returns a Keyword with the given namespace and name if one already exists. This function will not intern a new keywor...
functionclojure.core
Returns the namespace named by the symbol or nil if it doesn't exist.
functionclojure.core
- function
clojure.core
- function
clojure.core
Returns the global var named by the namespace-qualified symbol, or nil if no var with that name.
functionclojure.core
Find all xmlns occuring in a root
functionclojure.data.xml.process
- function
clojure.test.junit
- function
clojure.test.junit
- function
clojure.test.junit
Returns the first item in the collection. Calls seq on its argument. If coll is nil, returns nil.
functionclojure.core
Case 3a: The first column is chosen. Compute and return a switch/bind node with a default matrix case
functionclojure.core.match
- function
clojure.core.match
Case 2: If the first row is empty then matching always succeeds and yields the first action.
functionclojure.core.match
Case 2: If the first row is constituted by wildcards then matching matching always succeeds and yields the first actio...
functionclojure.core.match
- function
clojure.core.reducers
The Java access bitflags, along with their friendly names and the kinds of objects to which they can apply.
valueclojure.reflect
Takes any nested combination of sequential things (lists, vectors, etc.) and returns their contents as a single, flat ...
functionclojure.core
Takes any nested combination of sequential things (lists, vectors, etc.) and returns their contents as a single, flat ...
functionclojure.core.reducers
Flatten a collection of elements to an event seq
functionclojure.data.xml.tree
Coerce to float
functionclojure.core
Creates an array of floats
functionclojure.core
Returns true if n is a floating point number
functionclojure.core
Casts to float[]
functionclojure.core
Returns the largest double less than or equal to a, and equal to a mathematical integer. If a is ##NaN or ##Inf or #...
functionclojure.math
Integer division that rounds to negative infinity (as opposed to zero). The special case (floorDiv Long/MIN_VALUE -1) ...
functionclojure.math
Integer modulus x - (floorDiv(x, y) * y). Sign matches y and is in the range -|y| < r < |y|. See: https://docs.oracl...
functionclojure.math
Flushes the output stream that is the current value of *out*
functionclojure.core
params => positional-params*, or positional-params* & rest-param positional-param => binding-form rest-param => bind...
macroclojure.core
- function
clojure.core.async
Returns true if x implements Fn, i.e. is an object created via fn.
functionclojure.core
Same as (first (next x))
functionclojure.core
Takes a function f, and returns a function that calls f, replacing a nil first argument to f with the supplied value x...
functionclojure.core
Reduces a collection using a (potentially parallel) reduce-combine strategy. The collection is partitioned into groups...
functionclojure.core.reducers
Equivalent to (fold cat append! coll)
functionclojure.core.reducers
Given a foldable collection, and a transformation function xf, returns a foldable collection, where any supplied reduc...
functionclojure.core.reducers
List comprehension. Takes a vector of one or more binding-form/collection-expr pairs, each followed by zero or more ...
macroclojure.core
If x is a Delay, returns the (possibly cached) value of its expression, else returns x
functionclojure.core
Formats a string using java.lang.String.format, see java.util.Formatter for format string syntax
functionclojure.core
Format a sequence of summary parts into columns. lens is a sequence of lengths to use for parts. There are two sequenc...
functionclojure.tools.cli
Makes a function which can directly run format-in. The function is fn [stream & args] ... and returns nil unless the str...
macroclojure.pprint
Makes a function which can directly run format-in. The function is fn [& args] ... and returns nil. This version of the ...
macroclojure.pprint
Returns a map from distinct items in coll to the number of times they appear.
functionclojure.core
Make a newline if *out* is not already at the beginning of the line. If *out* is not a pretty writer (which keeps track ...
functionclojure.pprint
Coerce f to a file per clojure.java.io/file and return a ProcessBuilder.Redirect reading from the file. This can be pa...
functionclojure.java.process
Returns true if argument is a function or a symbol that resolves to a function (not a macro).
functionclojure.test
Takes a body of expressions and yields a future object that will invoke the body in another thread, and will cache the...
macroclojure.core
Takes a function of no args and yields a future object that will invoke the function in another thread, and will cache...
functionclojure.core
Cancels the future, if possible.
functionclojure.core
Returns true if future f is cancelled
functionclojure.core
Returns true if future f is done
functionclojure.core
Returns true if x is a future
functionclojure.core
G
When compiling, generates compiled bytecode for a class with the given package-qualified :name (which, as all names in...
macroclojure.core
When compiling, generates compiled bytecode for an interface with the given package-qualified :name (which, as all nam...
macroclojure.core
- function
clojure.core.match
Returns a new symbol with a unique name. If a prefix string is supplied, the name is prefix# where # is some unique nu...
functionclojure.core
Returns the value mapped to key, not-found or nil if key not present in associative collection, set, string, array, or...
functionclojure.core
- function
clojure.core.match
- multimethod
clojure.inspector
- multimethod
clojure.inspector
Extract the map of default options from a sequence of option vectors. As of 0.4.1, this also applies any :default-fn ...
functionclojure.tools.cli
Returns the exponent of d. If d is ##NaN, ##Inf, ##-Inf => Double/MAX_EXPONENT + 1 If d is zero or subnormal => Doub...
functionclojure.math
Returns the value in a nested associative structure, where ks is a sequence of keys. Returns nil if the key is not p...
functionclojure.core
- function
clojure.core.match
Given a multimethod and a dispatch value, returns the dispatch fn that would apply to that value, or nil if none apply...
functionclojure.core
- function
clojure.core.match
Like var-get but returns nil if the var is unbound.
functionclojure.test
Returns the java.io.Writer passed in wrapped in a pretty writer proxy, unless it's already a pretty writer. Generally, ...
functionclojure.pprint
Takes an optional single class followed by zero or more interfaces. If not supplied class defaults to Object. Creates...
functionclojure.core
Get a map with the Var/value pairs which is currently in effect for the current thread.
functionclojure.core
Returns a sequence of java.net.URL objects used by this classloader, or nil if the classloader does not sastify the ...
functionclojure.java.classpath
Gets the validator-fn for a var/ref/agent/atom.
functionclojure.core
Asynchronously executes the body, returning immediately to the calling thread. Additionally, any visible calls to <!, ...
macroclojure.core.async
Like (go (loop ...))
macroclojure.core.async
Returns a map of the elements of coll keyed by the result of f on each element. The value at each key will be a vector...
functionclojure.core
Returns a pattern with pattern-keywords (:when and :as) properly grouped. The original pattern may use the 'flatten...
functionclojure.core.match
- function
clojure.core.match
Determine if two patterns may be grouped together for simultaneous testing.
multimethodclojure.core.match
- function
clojure.core.match
- function
clojure.core.match
H
Returns a transducer that ends transduction when pred returns true for an input. When retf is supplied it must be a fn...
functionclojure.core
Checks if the cache contains a value associated with `e`
protocol-methodclojure.core.cache
Returns the hash code of its argument. Note this is the hash code consistent with =, and thus is different than .hashC...
functionclojure.core
- function
clojure.core
keyval => key val Returns a new hash map with supplied mappings. If any keys are equal, they are handled as if by r...
functionclojure.core
Returns the hash code, consistent with =, for an external ordered collection implementing Iterable. See http://clo...
functionclojure.core
Returns a new hash set with supplied keys. Any equal keys are handled as if by repeated uses of conj.
functionclojure.core
Returns the hash code, consistent with =, for an external unordered collection implementing Iterable. For maps, the i...
functionclojure.core
- function
clojure.core.match
Is meant to be called if the cache is determined to contain a value associated with `e`
protocol-methodclojure.core.cache
Returns sqrt(x^2 + y^2) without intermediate underflow or overflow. If x or y is ##Inf or ##-Inf => ##Inf If x or y ...
functionclojure.math
I
Return true if x is a symbol or keyword
functionclojure.core
Tests if 2 arguments are the same object
functionclojure.core
Returns its argument.
functionclojure.core
Returns the remainder per IEEE 754 such that remainder = dividend - divisor * n where n is the integer closest to ...
functionclojure.math
Evaluates test, then consequent or alternative.
special-formclojure.core
bindings => binding-form test If test is true, evaluates then with binding-form bound to the value of test, if not...
macroclojure.core
Evaluates test. If logical false, evaluates and returns then expr, otherwise else expr, if supplied, else nil.
macroclojure.core
bindings => binding-form test If test is not nil, evaluates then with binding-form bound to the value of test, if...
macroclojure.core
Returns true if x implements IFn. Note that many data structures (e.g. sets and maps) implement IFn
functionclojure.core
Protocol for concrete associative types that can reduce themselves via a function of key and val faster than first/ne...
valueclojure.core.protocols
import-list => (package-symbol class-name-symbols*) For each name in class-name-symbols, adds a mapping from name to ...
macroclojure.core
Sets *ns* to the namespace named by the symbol, creating it if needed.
valueclojure.core
Returns a number one greater than num. Does not auto-promote longs, will throw on overflow. See also: inc'
functionclojure.core
Returns a number one greater than num. Supports arbitrary precision. See also: inc
functionclojure.core
Increments the named counter in *report-counters*, a ref to a map. Does nothing if *report-counters* is nil.
functionclojure.test
True if s includes substr.
functionclojure.string
Returns a incremented by 1, throws ArithmeticException on overflow. See: https://docs.oracle.com/javase/8/docs/api/jav...
functionclojure.math
Emits the XML and indents the result. WARNING: this is slow it will emit the XML and read it in again to indent it. ...
functionclojure.data.xml
- function
clojure.test.junit
Emits the XML and indents the result. Writes the results to a String and returns it
functionclojure.data.xml
Returns a map of the distinct values of ks in the xrel mapped to a set of the maps in xrel with the corresponding valu...
functionclojure.set
Return index of value (string or char) in s, optionally searching forward from from-index. Return nil if value not fou...
functionclojure.string
Return true if coll implements Indexed, indicating efficient lookup by index
functionclojure.core
Returns true if num is negative or positive infinity, else false
functionclojure.core
Info level logging using print-style args. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.
macroclojure.tools.logging
Info level logging using format. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.
macroclojure.tools.logging
Takes a proxy instance and a map of strings (which must correspond to methods of the proxy superclass/superinterfaces)...
functionclojure.core
Initial runtime basis at launch, nil if unknown (process not started by CLI)
functionclojure.java.basis
Attempts to coerce its argument into an open java.io.InputStream. Default implementations always return a java.io.Buf...
functionclojure.java.io
Inserts the item as the leftmost child of the node at this loc, without moving
functionclojure.zip
Inserts the item as the left sibling of the node at this loc, without moving
functionclojure.zip
Inserts the item as the right sibling of the node at this loc, without moving
functionclojure.zip
creates a graphical (Swing) inspector on the supplied object
functionclojure.inspector
creates a graphical (Swing) inspector on the supplied regular data, which must be a sequential data structure of data ...
functionclojure.inspector
creates a graphical (Swing) inspector on the supplied hierarchical data
functionclojure.inspector
- value
clojure.core
Return the number of milliseconds since January 1, 1970, 00:00:00 GMT
functionclojure.core
- protocol-method
clojure.core
Return true if x satisfies Inst
functionclojure.core
Evaluates x and tests if it is an instance of the class c. Returns true or false
functionclojure.core
Coerce to int
functionclojure.core
Creates an array of ints
functionclojure.core
Return true if x is a fixed precision integer
functionclojure.core
Returns true if n is an integer
functionclojure.core
Returns a lazy seq of the first item in each coll, then the second etc.
functionclojure.core
Finds or creates a var named by the symbol name in the namespace ns (which can be a symbol or a namespace), setting it...
functionclojure.core
- protocol-method
clojure.core.protocols
Protocol for concrete seq types that can reduce themselves faster than first/next recursion. Called by clojure.core/r...
valueclojure.core.protocols
Returns a lazy seq of the elements of coll separated by sep. Returns a stateful transducer when no collection is provi...
functionclojure.core
Return a set that is the intersection of the input sets
functionclojure.set
Returns a new coll consisting of to with all of the items of from conjoined. A transducer may be supplied. (into x) ...
functionclojure.core
Returns a channel containing the single (collection) result of the items taken from the channel conjoined to the suppl...
functionclojure.core.async
Returns an array with components set to the values in aseq. The array's component type is type if provided, or the typ...
functionclojure.core
Casts to int[]
functionclojure.core
- function
clojure.data.json
Invoke tool using Clojure CLI. Args (one of :tool-alias or :tool-name, and :fn are required): :tool-alias - Tool a...
functionclojure.tools.deps.interop
If an io! block occurs in a transaction, throws an IllegalStateException, else runs body in an implicit do. If the f...
macroclojure.core
prepl bound to *in* and *out*, suitable for use with e.g. server/repl (socket-repl). :ret and :tap vals will be proces...
functionclojure.core.server
- function
clojure.java.process
- function
clojure.core.async
Factory functions that create ready-to-use, buffered versions of the various Java I/O stream types, on top of anythin...
valueclojure.java.io
Generic assertion macro. 'form' is any predicate test. 'msg' is an optional message to attach to the assertion. ...
macroclojure.test
- multimethod
clojure.inspector
Returns true if (= child parent), or child is directly or indirectly derived from parent, either via a Java type inher...
functionclojure.core
Returns a lazy (infinite!) sequence of x, (f x), (f (f x)) etc. f must be free of side-effects
functionclojure.core
Creates a seqable/reducible via repeated calls to step, a function of some (continuation token) 'k'. The first call to...
functionclojure.core
- function
clojure.core.protocols
Returns a seq on a java.util.Iterator. Note that most collections providing iterators implement Iterable and thus supp...
functionclojure.core
J
Returns true if file is a normal file with a .jar or .JAR extension.
functionclojure.java.classpath
Opens a browser window displaying the javadoc for the argument. Tries *local-javadocs* first, then *remote-javadocs*.
functionclojure.java.javadoc
When passed 2 rels, returns the rel corresponding to the natural join. When passed an additional keymap, joins on the ...
functionclojure.set
Returns a string of all elements in coll, as returned by (seq coll), separated by an optional separator.
functionclojure.string
Composes a collection of fixtures, in order. Always returns a valid fixture function, even if the collection is empty...
functionclojure.test
DEPRECATED; replaced by 'write-str'. Converts x to a JSON-formatted string. Valid options are: :escape-unicode...
functionclojure.data.json
- value
clojure.data.json
- multimethod
clojure.test.junit
Takes a set of functions and returns a fn that is the juxtaposition of those fns. The returned fn takes a variable nu...
functionclojure.core
K
Returns a lazy sequence of the non-nil results of (f item). Note, this means false return values will be included. f ...
functionclojure.core
Returns a lazy sequence of the non-nil results of (f index item). Note, this means false return values will be include...
functionclojure.core
Returns the key of the map entry.
functionclojure.core
Returns a sequence of the map's keys, in the same order as (seq map).
functionclojure.core
Returns a Keyword with the given namespace and name. Do not use : in the keyword strings, it will be added automatica...
functionclojure.core
Return true if x is a Keyword
functionclojure.core
Recursively transforms all map keys from strings to keywords.
functionclojure.walk
- protocol-method
clojure.core.protocols
L
Return the last item in coll, in linear time
functionclojure.core
Return last index of value (string or char) in s, optionally searching backward from from-index. Return nil if value n...
functionclojure.string
Expands to code which yields a lazy sequence of the concatenation of the supplied colls. Each coll expr is not evalua...
macroclojure.core
Takes a body of expressions that returns an ISeq or nil, and yields a Seqable object that will invoke the body only th...
macroclojure.core
Returns a lazy snapshot of a core.memo-placed memoization cache. By lazy snapshot you can infer that what you get is...
functionclojure.core.memoize
- multimethod
clojure.core.match
- function
clojure.core.match
Returns the loc of the left sibling of the node at this loc, or nil
functionclojure.zip
Returns the loc of the leftmost sibling of the node at this loc, or self
functionclojure.zip
Returns a seq of the left siblings of this loc
functionclojure.zip
binding => binding-form init-expr binding-form => name, or destructuring-form destructuring-form => map-destructure-...
macroclojure.core
fnspec ==> (fname [params*] exprs) or (fname ([params*] exprs)+) Takes a vector of function specs and a body, and gen...
macroclojure.core
Returns the lines of text from rdr as a lazy sequence of strings. rdr must implement java.io.BufferedReader.
functionclojure.core
Returns an LIRS cache with the S & R LRU lists set to the indicated limits.
functionclojure.core.cache
Creates a new list containing the items.
functionclojure.core
Creates a new seq containing the items prepended to the rest, the last of which will be treated as a sequence.
functionclojure.core
- function
clojure.inspector
- multimethod
clojure.inspector
Returns true if x implements IPersistentList
functionclojure.core
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
Loads Clojure code from resources in classpath. A path is interpreted as classpath-relative if it begins with a slash ...
functionclojure.core
Sequentially read and evaluate the set of forms contained in the file.
valueclojure.core
Sequentially read and evaluate the set of forms contained in the stream/file
functionclojure.core
Loads Clojure source from a file or resource given its path. Paths beginning with @ or @/ are considered relative to c...
functionclojure.main
Sequentially read and evaluate the set of forms contained in the string
functionclojure.core
Returns a sorted set of symbols naming the currently loaded libs
functionclojure.core
Returns a sequence of File paths from a classloader.
functionclojure.java.classpath
Executes exprs in an implicit do, while holding the monitor of x. Will release the monitor of x in all circumstances.
macroclojure.core
Returns the natural logarithm (base e) of a. If a is ##NaN or negative => ##NaN If a is ##Inf => ##Inf If a is zer...
functionclojure.math
Evaluates and logs a message only if the specified level is enabled. See log* for more details.
macroclojure.tools.logging
Attempts to log a message, either directly or via an agent; does not check if the level is enabled. For performance...
functionclojure.tools.logging
Captures System.out and System.err, piping all writes of those streams to the log. If unspecified, levels default to...
functionclojure.tools.logging
Creates a PrintStream that will output to the log at the specified level.
functionclojure.tools.logging
Restores System.out and System.err to their original values.
functionclojure.tools.logging
Returns the logarithm (base 10) of a. If a is ##NaN or negative => ##NaN If a is ##Inf => ##Inf If a is zero => ##...
functionclojure.math
Returns ln(1+x). For small values of x, log1p(x) is more accurate than log(1.0+x). If x is ##NaN or < -1 => ##NaN ...
functionclojure.math
Logs a message using a format string and args. Can optionally take a throwable as its second arg. See level-specific m...
macroclojure.tools.logging
Logs a message using print style args. Can optionally take a throwable as its second arg. See level-specific macros, e...
macroclojure.tools.logging
Coerce to long
functionclojure.core
Creates an array of longs
functionclojure.core
Casts to long[]
functionclojure.core
Retrieve the value associated with `e` if it exists, else `nil` in the 2-arg case. Retrieve the value associated wit...
protocol-methodclojure.core.cache
Evaluates the exprs in a lexical context in which the symbols in the binding-forms are bound to their respective init-...
macroclojure.core
Converts string to all lower-case.
functionclojure.string
Works the same as the basic memoization function (i.e. `memo` and `core.memoize` except when a given threshold is bre...
functionclojure.core.memoize
Returns an LRU cache with the cache and usage-table initialized to `base` -- each entry is initialized with the same ...
functionclojure.core.cache
Similar to the implementation of memo-lru, except that this function removes all cache values whose usage value is ...
functionclojure.core.memoize
Returns an LU cache with the cache and usage-table initialized to `base`. This function takes an optional `:threshol...
functionclojure.core.cache
M
Repeatedly calls macroexpand-1 on form until it no longer represents a macro form, then returns it. Note neither ma...
functionclojure.core
If form represents a macro form, returns its expansion, else returns form.
functionclojure.core
Recursively performs all possible macroexpansions in form.
functionclojure.walk
Usage: java -cp clojure.jar clojure.main [init-opt*] [main-opt] [arg*] With no options or args, runs an interactive R...
functionclojure.main
Creates and returns an array of instances of the specified class of the specified dimension(s). Note that a class obj...
functionclojure.core
Creates a hierarchy object for use with derive, isa? etc.
functionclojure.core
Creates a BufferedInputStream. See also IOFactory docs.
protocol-methodclojure.java.io
Returns a new branch node, given an existing node and new children. The loc is only used to supply the constructor.
functionclojure.zip
Creates a BufferedOutputStream. See also IOFactory docs.
protocol-methodclojure.java.io
Given the same arg(s) as for file, creates all parent directories of the file they represent.
functionclojure.java.io
Creates a BufferedReader. See also IOFactory docs.
protocol-methodclojure.java.io
- function
clojure.core.cache
Given a single compiled option spec, turn it into a formatted string, optionally with its default values if requested.
functionclojure.tools.cli
Creates a BufferedWriter. See also IOFactory docs.
protocol-methodclojure.java.io
Returns a lazy sequence consisting of the result of applying f to the set of first items of each coll, followed by app...
functionclojure.core
Takes a function and a collection of source channels, and returns a channel which contains the values produced by appl...
functionclojure.core.async
Applies f to every value in the reduction of coll. Foldable.
functionclojure.core.reducers
Factory function for class clojure.core.match.BindNode, taking a map of keywords to field values.
functionclojure.core.match
Factory function for class clojure.data.xml.event.CDataEvent, taking a map of keywords to field values.
functionclojure.data.xml.event
Factory function for class clojure.data.xml.event.CharsEvent, taking a map of keywords to field values.
functionclojure.data.xml.event
Factory function for class clojure.data.xml.event.CommentEvent, taking a map of keywords to field values.
functionclojure.data.xml.event
Factory function for class clojure.reflect.Constructor, taking a map of keywords to field values.
functionclojure.reflect
Factory function for class clojure.data.xml.event.EmptyElementEvent, taking a map of keywords to field values.
functionclojure.data.xml.event
Factory function for class clojure.core.match.FailNode, taking a map of keywords to field values.
functionclojure.core.match
Factory function for class clojure.reflect.Field, taking a map of keywords to field values.
functionclojure.reflect
Factory function for class clojure.core.match.LeafNode, taking a map of keywords to field values.
functionclojure.core.match
Factory function for class clojure.core.match.MapKeyPattern, taking a map of keywords to field values.
functionclojure.core.match
Factory function for class clojure.reflect.Method, taking a map of keywords to field values.
functionclojure.reflect
Factory function for class clojure.core.match.PatternMatrix, taking a map of keywords to field values.
functionclojure.core.match
Factory function for class clojure.data.xml.event.QNameEvent, taking a map of keywords to field values.
functionclojure.data.xml.event
Factory function for class clojure.core.match.RestPattern, taking a map of keywords to field values.
functionclojure.core.match
Factory function for class clojure.data.xml.event.StartElementEvent, taking a map of keywords to field values.
functionclojure.data.xml.event
Factory function for class clojure.core.match.SwitchNode, taking a map of keywords to field values.
functionclojure.core.match
Return true if x is a map entry
functionclojure.core
Decide which map type to use, array-map if less than 16 elements
functionclojure.tools.reader
Returns a lazy sequence consisting of the result of applying f to 0 and the first item of coll, followed by applying f...
functionclojure.core
Returns the map with the vals mapped to the keys.
functionclojure.set
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
Return true if x implements IPersistentMap
functionclojure.core
Returns the result of applying concat to the result of applying map to f and colls. Thus function f should return a c...
functionclojure.core
Applies f to every value in the reduction of coll, concatenating the result colls of (f val). Foldable.
functionclojure.core.reducers
Returns a vector consisting of the result of applying f to the set of first items of each coll, followed by applying f...
functionclojure.core
Pattern match a row of occurrences. Take a vector of occurrences, vars. Clause question-answer syntax is like `cond`. ...
macroclojure.core.match
- macro
clojure.core.match
Same as match but supports IMatchLookup when matching maps.
macroclojure.core.match
- macro
clojure.core.match
- function
clojure.core.match
Returns the greatest of the nums.
functionclojure.core
Returns the x for which (k x), a number, is greatest. If there are multiple such xs, the last one is returned.
functionclojure.core
Expands into code that creates a fn that expects to be passed an object and any args and calls the named instance meth...
macroclojure.core
Used as a more flexible alternative to Clojure's core `memoization` function. Memoized functions built using `memo` ...
functionclojure.core.memoize
Reaches into an core.memo-memoized function and clears the cache. This is a destructive operation and should be used...
functionclojure.core.memoize
DEPRECATED: Please use clojure.core.memoize/fifo instead.
functionclojure.core.memoize
DEPRECATED: Please use clojure.core.memoize/lru instead.
functionclojure.core.memoize
DEPRECATED: Please use clojure.core.memoize/lu instead.
functionclojure.core.memoize
Takes a core.memo-populated function and a map and replaces the memoization cache with the supplied map. This is pot...
functionclojure.core.memoize
The 2-arity version takes a core.memo-populated function and a map and replaces the memoization cache with the supplie...
functionclojure.core.memoize
DEPRECATED: Please use clojure.core.memoize/ttl instead.
functionclojure.core.memoize
- function
clojure.core.memoize
Returns a memoized version of a referentially transparent function. The memoized version of the function keeps a cache...
functionclojure.core
Returns true if a function has an core.memo-placed cache, false otherwise.
functionclojure.core.memoize
Build a pluggable memoized version of a function. Given a function and a (pluggable memoized) cache, and an optional s...
functionclojure.core.memoize
Returns a map that consists of the rest of the maps conj-ed onto the first. If a key occurs in more than one map, the...
functionclojure.core
Takes a collection of source channels and returns a channel which contains all values taken from them. The returned ch...
functionclojure.core.async
Returns a map that consists of the rest of the maps conj-ed onto the first. If a key occurs in more than one map, the...
functionclojure.core
- function
clojure.test.junit
Returns the metadata of obj, returns nil if there is no metadata.
functionclojure.core
- function
clojure.core
Given a multimethod, returns a map of dispatch values -> dispatch fns
functionclojure.core
Returns the least of the nums.
functionclojure.core
Returns the x for which (k x), a number, is least. If there are multiple such xs, the last one is returned.
functionclojure.core
Is meant to be called if the cache is determined to **not** contain a value associated with `e`
protocol-methodclojure.core.cache
Creates and returns a mix of one or more input channels which will be put on the supplied out channel. Input sources c...
functionclojure.core.async
- value
clojure.core.async
Mix final collection hash for ordered or unordered collections. hash-basis is the combined collection hash, count is ...
functionclojure.core
Modulus of num and div. Truncates toward negative infinity.
functionclojure.core
Acquires the monitor of an object.
special-formclojure.core
Releases the monitor of an object.
special-formclojure.core
Builds a combining fn out of the supplied operator and identity constructor. op must be associative and ctor called wi...
functionclojure.core.reducers
Creates and returns a mult(iple) of the supplied channel. Channels containing copies of the channel can be created wit...
functionclojure.core.async
- value
clojure.core.async
Returns the product of x and y, throws ArithmeticException on overflow. See: https://docs.oracle.com/javase/8/docs/api...
functionclojure.math
- function
clojure.core
- value
clojure.core.async
- protocol-method
clojure.core.async
N
Returns the name String of a string, symbol or keyword.
functionclojure.core
- function
clojure.core.match
Returns the namespace String of a symbol or keyword, or nil if not present.
functionclojure.core
Convert a Clojure namespace name to a legal Java package name.
functionclojure.core
Returns true if num is NaN, else false
functionclojure.core
Return true if x is a non-negative fixed precision integer
functionclojure.core
return (possibly transformed) v in the context of coll and k (a key/index or nil), defaults to returning v.
protocol-methodclojure.core.protocols
Returns (possibly transformed) v in the context of coll and k (a key/index or nil). Callers should attempt to provide ...
functionclojure.datafy
- value
clojure.core.protocols
- function
clojure.core.match
Return true if x is a negative fixed precision integer
functionclojure.core
Returns true if num is less than zero, else false
functionclojure.core
Returns the negation of a, throws ArithmeticException on overflow. See: https://docs.oracle.com/javase/8/docs/api/java...
functionclojure.math
Creates a new instance of a class.
special-formclojure.core
Writes a platform-specific newline to *out*
functionclojure.core
Returns a seq of the items after the first. Calls seq on its argument. If there are no more items, returns nil.
functionclojure.core
Moves to the next loc in the hierarchy, depth-first. When reaching the end, returns a distinguished loc detectable via...
functionclojure.zip
Returns the adjacent floating point number to start in the direction of the second argument. If the arguments are equa...
functionclojure.math
Returns the adjacent double of d in the direction of ##-Inf. If d is ##NaN => ##NaN If d is ##-Inf => ##-Inf If d ...
functionclojure.math
Returns the adjacent double of d in the direction of ##Inf. If d is ##NaN => ##NaN If d is ##Inf => ##Inf If d is ...
functionclojure.math
Same as (next (first x))
functionclojure.core
Returns true if x is nil, false otherwise.
functionclojure.core
Same as (next (next x))
functionclojure.core
Returns the node at loc
functionclojure.zip
- function
clojure.core.match
Returns true if x is logical false, false otherwise.
functionclojure.core
Returns false if (pred x) is logical true for any x in coll, else true.
functionclojure.core
If coll is empty, returns nil, else coll
functionclojure.core
Returns false if (pred x) is logical true for every x in coll, else true.
functionclojure.core
Same as (not (= obj1 obj2))
functionclojure.core
Sets *ns* to the namespace named by name (unevaluated), creating it if needed. references can be zero or more of: (:r...
macroclojure.core
Returns a map of the aliases for the namespace.
functionclojure.core
Returns a map of the import mappings for the namespace.
functionclojure.core
Returns a map of the intern mappings for the namespace.
functionclojure.core
Returns a map of all the mappings for the namespace.
functionclojure.core
Returns the name of the namespace, a symbol.
functionclojure.core
Returns a map of the public intern mappings for the namespace.
functionclojure.core
Returns a map of the refer mappings for the namespace.
functionclojure.core
Returns the var or Class to which a symbol will be resolved in the namespace (unless found in the environment), else n...
functionclojure.core
Removes the alias for the symbol from the namespace.
functionclojure.core
Removes the mappings for the symbol from the namespace.
functionclojure.core
Returns the value at the index. get returns nil if index out of bounds, nth throws an exception unless not-found is su...
functionclojure.core
- multimethod
clojure.core.match
- multimethod
clojure.core.match
Returns the nth next of coll, (seq coll) when n is 0.
functionclojure.core
- multimethod
clojure.core.match
Returns the nth rest of coll, coll when n is 0.
functionclojure.core
Coerce to Number
functionclojure.core
Returns true if x is a Number
functionclojure.core
Returns the numerator part of a Ratio.
functionclojure.core
O
Creates an array of objects
functionclojure.core
- function
clojure.core.match
Returns true if n is odd, throws an exception if n is not an integer
functionclojure.core
Puts a val into port if it's possible to do so immediately. nil values are not allowed. Never blocks. Returns true if...
functionclojure.core.async
- function
clojure.inspector
Pass as :extra-data-fn to `read` or `read-str` to throw if data is found after the first object.
functionclojure.data.json
Pass as :extra-data-fn to `read` or `read-str` to throw if data is found after the first object and return the remaini...
functionclojure.data.json
Puts the contents of coll into the supplied channel. By default the channel will be closed after the items are copied...
functionclojure.core.async
Like onto-chan! for use when accessing coll might block, e.g. a lazy seq of blocking operations
functionclojure.core.async
Evaluates exprs one at a time, from left to right. If a form returns a logical true value, or returns that value and d...
macroclojure.core
- function
clojure.core.match
- function
clojure.core.match
Case 3b: A column other than the first is chosen. Swap column col with the first column and compile the result
functionclojure.core.match
Attempts to coerce its argument into an open java.io.OutputStream. Default implementations always return a java.io.Bu...
functionclojure.java.io
P
- function
clojure.test.junit
Returns the immediate parents of tag, either via a Java type inheritance relationship or a relationship established vi...
functionclojure.core
Parses an XML input source into a a tree of Element records. The element tree is realized lazily, so huge XML files can ...
functionclojure.data.xml
Parses and loads the source s, which can be a File, InputStream or String naming a URI. Returns a tree of the xml/elem...
functionclojure.xml
Parse strings "true" or "false" and return a boolean, or nil if invalid
functionclojure.core
Parse string with floating point components and return a Double value, or nil if parse fails. Grammar: https://docs...
functionclojure.core
Parse string of decimal digits with optional leading -/+ and return a Long value, or nil if parse fails
functionclojure.core
Parse arguments sequence according to given option specifications and the GNU Program Argument Syntax Conventions: ...
functionclojure.tools.cli
- function
clojure.data.xml.jvm.name
Parses an XML String into a a tree of Element records. Options: :include-node? subset of #{:element :characters :com...
functionclojure.data.xml
Parse a string containing an RFC3339-like like timestamp. The function new-instant is called with the following argumen...
functionclojure.instant
Parse a string representing a UUID and return a java.util.UUID instance, or nil if parse fails. Grammar: https://do...
functionclojure.core
Takes a function f and fewer than the normal arguments to f, and returns a fn that takes a variable number of addition...
functionclojure.core
Returns a lazy sequence of lists of n items each, at offsets step apart. If step is not supplied, defaults to n, i.e. ...
functionclojure.core
Returns a lazy sequence of lists like partition, but may include partitions with fewer than n items at the end. Retur...
functionclojure.core
Applies f to each value in coll, splitting it each time f returns a new value. Returns a lazy seq of partitions. Re...
functionclojure.core
Returns a lazy sequence of vectors of n items each, at offsets step apart. If step is not supplied, defaults to n, i.e...
functionclojure.core
Returns a lazy sequence of vector partitions, but may include partitions with fewer than n items at the end. Returns...
functionclojure.core
Returns a seq of nodes leading to this loc
functionclojure.zip
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
Executes the no-arg fns in parallel, returning a lazy sequence of their values
functionclojure.core
For a list or queue, same as first, for a vector, same as, but much more efficient than, last. If the collection is em...
functionclojure.core
Returns a new, persistent version of the transient collection, in constant time. The transient collection cannot be us...
functionclojure.core
Constant for pi, the ratio of the circumference of a circle to its diameter. See: https://docs.oracle.com/javase/8/doc...
valueclojure.math
Takes elements from the from channel and supplies them to the to channel. By default, the to channel will be closed wh...
functionclojure.core.async
Takes elements from the from channel and supplies them to the to channel, subject to the transducer xf, with paralleli...
functionclojure.core.async
Takes elements from the from channel and supplies them to the to channel, subject to the async function af, with paral...
functionclojure.core.async
Like pipeline, for blocking operations.
functionclojure.core.async
Like map, except f is applied in parallel. Semi-lazy in that the parallel computation stays ahead of the consumption, ...
functionclojure.core
Takes a val from port if it's possible to do so immediately. Never blocks. Returns value if successful, nil otherwise...
functionclojure.core.async
- value
clojure.core.reducers
For a list or queue, returns a new list/queue without the first item, for a vector, returns a new vector without the l...
functionclojure.core
Removes the last item from a transient vector. If the collection is empty, throws an exception. Returns coll
functionclojure.core
Pop one set of bindings pushed with push-binding before. It is an error to pop bindings without pushing before.
functionclojure.core
Return true if x is a positive fixed precision integer
functionclojure.core
Returns true if num is greater than zero, else false
functionclojure.core
Performs a depth-first, post-order traversal of form. Calls f on each sub-form, uses f's return value in place of the...
functionclojure.walk
Demonstrates the behavior of postwalk by printing each form as it is walked. Returns form.
functionclojure.walk
Recursively transforms form by replacing keys in smap with their values. Like clojure/replace but works on any data s...
functionclojure.walk
Returns the value of a raised to the power of b. For more details on special cases, see: https://docs.oracle.com/jav...
functionclojure.math
A convenience macro that pretty prints the last thing output. This is exactly equivalent to (pprint *1).
macroclojure.pprint
Pretty-prints JSON representation of x to *out*. Options are the same as for write except :value-fn and :indent, which...
functionclojure.data.json
Pretty print object to the optional output writer. If the writer is not provided, print the object to the currently bou...
functionclojure.pprint
Create an indent at this point in the pretty printing stream. This defines how following lines are indented. relative-t...
functionclojure.pprint
DEPRECATED; replaced by 'pprint'. Pretty-prints JSON representation of x to *out*. Valid options are: :escape-...
functionclojure.data.json
Execute the body as a pretty printing logical block with output to *out* which must be a pretty printing writer. When u...
macroclojure.pprint
Print a conditional newline to a pretty printing stream. kind specifies if the newline is :linear, :miser, :fill, or :m...
functionclojure.pprint
Tab at this point in the pretty printing stream. kind specifies whether the tab is :line, :section, :line-relative, or :...
functionclojure.pprint
Prints the object(s) to the output stream that is the current value of *out*. Prints the object(s), separated by spac...
functionclojure.core
pr to a string, returning it
functionclojure.core
- function
clojure.core.match
- function
clojure.core.match
- value
clojure.core.match
Causes the multimethod to prefer matches of dispatch-val-x over dispatch-val-y when there is a conflict
functionclojure.core
Given a multimethod, returns a map of preferred value -> set of other values
functionclojure.core
a REPL with structured output (for programs) reads forms to eval from in-reader (a LineNumberingPushbackReader) Clos...
functionclojure.core.server
Moves to the previous loc in the hierarchy, depth-first. If already at the root, returns nil.
functionclojure.zip
Like postwalk, but does pre-order traversal.
functionclojure.walk
Demonstrates the behavior of prewalk by printing each form as it is walked. Returns form.
functionclojure.walk
Recursively transforms form by replacing keys in smap with their values. Like clojure/replace but works on any data s...
functionclojure.walk
- value
clojure.core
Prints the object(s) to the output stream that is the current value of *out*. print and println produce output for hu...
functionclojure.core
Like print-stack-trace but prints chained exceptions (causes).
functionclojure.stacktrace
- function
clojure.core
- function
clojure.test.tap
- multimethod
clojure.core
DEPRECATED; replaced by 'write' to *out*. Write JSON-formatted output to *out*. Valid options are: :escape-uni...
functionclojure.data.json
A version of loop that iterates at most *print-length* times. This is designed for use in pretty-printer dispatch funct...
macroclojure.pprint
- multimethod
clojure.core
- function
clojure.core
Prints a Clojure-oriented stack trace of tr, a Throwable. Prints a maximum of n stack frames (default: unlimited). D...
functionclojure.stacktrace
print to a string, returning it
functionclojure.core
Prints a collection of maps in a textual table. Prints table headings ks, and then a line of output for each row, cor...
functionclojure.pprint
Prints a TAP diagnostic line. data is a (possibly multi-line) string.
functionclojure.test.tap
Prints a TAP 'not ok' line. msg is a string, with no line breaks
functionclojure.test.tap
Prints a TAP 'ok' line. msg is a string, with no line breaks
functionclojure.test.tap
Prints a TAP plan line like '1..n'. n is the number of tests
functionclojure.test.tap
Prints the class and message of a Throwable. Prints the ex-data map if present.
functionclojure.stacktrace
Prints a Clojure-oriented view of one element in a stack trace.
functionclojure.stacktrace
Shell command to create a dummy file for xmlns. Execute from a source root.
functionclojure.data.xml.name
Prints formatted output, as per format
functionclojure.core
Same as print followed by (newline)
functionclojure.core
println to a string, returning it
functionclojure.core
implements java.io.PrintWriter given flush-fn, which will be called when .flush() is called, with a string built up si...
functionclojure.core
Takes a priority map p, and returns a sorted map from each priority to the set of items with that priority in p
functionclojure.data.priority-map
Usage: (priority-map key val key val ...) Returns a new priority map with optional supplied mappings. (priority-map)...
functionclojure.data.priority-map
Usage: (priority-map comparator key val key val ...) Returns a new priority map with custom comparator and optional su...
functionclojure.data.priority-map
Usage: (priority-map-keyfn keyfn key val key val ...) Returns a new priority map with custom keyfn and optional suppli...
functionclojure.data.priority-map
Usage: (priority-map-keyfn-by keyfn comparator key val key val ...) Returns a new priority map with custom keyfn, cust...
functionclojure.data.priority-map
Same as pr followed by (newline). Observes *flush-on-newline*
functionclojure.core
prn to a string, returning it
functionclojure.core
Process the vars for the pattern matrix. If user provides an expression, create a var and annotate via metadata with ...
functionclojure.core.match
Returns a rel of the elements of xrel with only the keys in ks
functionclojure.set
Returns a promise object that can be read with deref/@, and set, once only, with deliver. Calls to deref/@ prior to de...
functionclojure.core
Creates a promise channel with an optional transducer, and an optional exception-handler. A promise channel can take e...
functionclojure.core.async
class-and-interfaces - a vector of class names args - a (possibly empty) vector of arguments to the superclass cons...
macroclojure.core
- function
clojure.core
Takes a proxy instance and returns the proxy's fn map.
functionclojure.core
- function
clojure.core
Use to call a superclass method in the body of a proxy method. Note, expansion captures 'this
macroclojure.core
- function
clojure.core.match
- function
clojure.core.match
Prints a stack trace of the exception, to the depth requested. If none supplied, uses the root cause of the most recen...
functionclojure.repl
- value
clojure.core.async
Creates and returns a pub(lication) of the supplied channel, partitioned into topics by the topic-fn. topic-fn will be...
functionclojure.core.async
WARNING: This is a low-level function. Prefer high-level macros like binding where ever possible. Takes a map of Va...
functionclojure.core
Asynchronously puts a val into port, calling fn1 (if supplied) when complete, passing false iff port is already close...
functionclojure.core.async
Returns a lazy sequence of the values of the exprs, which are evaluated in parallel
macroclojure.core
Q
- function
clojure.data.xml.name
Get the name for this qname
functionclojure.data.xml.name
Get the namespace uri for this qname
functionclojure.data.xml.name
Return true if x is a symbol or keyword with a namespace
functionclojure.core
Return true if x is a keyword with a namespace
functionclojure.core
Return true if x is a symbol with a namespace
functionclojure.core
quot[ient] of dividing numerator by denominator.
functionclojure.core
Yields the unevaluated form.
special-formclojure.core
R
Returns a random floating point number between 0 (inclusive) and n (default 1) (exclusive).
functionclojure.core
Returns a random integer between 0 (inclusive) and n (exclusive).
functionclojure.core
Return a random element of the (sequential) collection. Will have the same performance characteristics as nth for the ...
functionclojure.core
Returns a positive double between 0.0 and 1.0, chosen pseudorandomly with approximately random distribution. See: ht...
functionclojure.math
Returns items from coll with random probability of prob (0.0 - 1.0). Returns a transducer when no collection is provi...
functionclojure.core
Returns a pseudo-randomly generated java.util.UUID instance (i.e. type 4). See: https://docs.oracle.com/javase/8/docs...
functionclojure.core
Returns a lazy seq of nums from start (inclusive) to end (exclusive), by step, where start defaults to 0, step to 1, a...
functionclojure.core
Returns true if n is a Ratio
functionclojure.core
Returns true if n is a rational number
functionclojure.core
returns the rational value of num
functionclojure.core
Returns the next regex match, if any, of string to pattern, using java.util.regex.Matcher.find(). Uses re-groups to r...
functionclojure.core
Returns the groups from the most recent match/find. If there are no nested groups, returns a string of the entire matc...
functionclojure.core
Returns an instance of java.util.regex.Matcher, for use, e.g. in re-find.
functionclojure.core
Returns the match, if any, of string to pattern, using java.util.regex.Matcher.matches(). Uses re-groups to return th...
functionclojure.core
Returns an instance of java.util.regex.Pattern, for use, e.g. in re-matcher.
functionclojure.core
Given a replacement string that you wish to be a literal replacement for a pattern match in replace or replace-first,...
functionclojure.string
Returns a lazy sequence of successive matches of pattern in string, using java.util.regex.Matcher.find(), each such ma...
functionclojure.core
Reads the next object from stream, which must be an instance of java.io.PushbackReader or some derivee. stream defaul...
functionclojure.core
Reads a single item of JSON data from a java.io.Reader. If you wish to repeatedly read items from the same reader, yo...
functionclojure.data.json
Reads the next object from stream, which must be an instance of java.io.PushbackReader or some derivee. stream defaul...
functionclojure.edn
Reads the first object from an IPushbackReader or a java.io.PushbackReader. Returns the object read. If EOF, throws i...
functionclojure.tools.reader
Reads the first object from an IPushbackReader or a java.io.PushbackReader. Returns the object read. If EOF, throws i...
functionclojure.tools.reader.edn
Like read, and taking the same args. stream must be a LineNumberingPushbackReader. Returns a vector containing the obj...
functionclojure.core
Like read, and taking the same args. reader must be a SourceLoggingPushbackReader. Returns a vector containing the obj...
functionclojure.tools.reader
Reads CSV-data from input (String or java.io.Reader) into a lazy sequence of vectors. Valid options are :sepa...
functionclojure.data.csv
- protocol-method
clojure.data.csv
- value
clojure.data.csv
To read an instant as a java.util.Calendar, bind *data-readers* to a map with this var as the value for the 'inst key. ...
functionclojure.instant
To read an instant as a java.util.Date, bind *data-readers* to a map with this var as the value for the 'inst key. The t...
functionclojure.instant
To read an instant as a java.sql.Timestamp, bind *data-readers* to a map with this var as the value for the 'inst key. T...
functionclojure.instant
DEPRECATED; replaced by read-str. Reads one JSON value from input String or Reader. If keywordize? is true (default...
functionclojure.data.json
Reads the next line from stream that is the current value of *in* .
functionclojure.core
- function
clojure.tools.reader
Reads one JSON value from input String. Options are the same as for read.
functionclojure.data.json
Reads one object from the string s. Optionally include reader options, as specified in read. Note that read-string ...
functionclojure.core
Reads one object from the string s. Returns nil when s is nil or empty. Reads data in the edn format (subset of Cloju...
functionclojure.edn
Reads one object from the string s. Returns nil when s is nil or empty. ***WARNING*** Note that read-string ca...
functionclojure.tools.reader
Reads one object from the string s. Returns nil when s is nil or empty. Reads data in the edn format (subset of C...
functionclojure.tools.reader.edn
- function
clojure.tools.reader
Attempts to coerce its argument into an open java.io.Reader. Default implementations always return a java.io.Buffered...
functionclojure.java.io
Construct a data representation of a reader conditional. If true, splicing? indicates read-cond-splicing.
functionclojure.core
Return true if the value is the data representation of a reader conditional
functionclojure.core
Returns true if a value has been produced for a promise, delay, future or lazy sequence.
functionclojure.core
Returns true if x is a record
functionclojure.core
Rebinds and transfers control to the recursion point.
special-formclojure.core
- function
clojure.core.match
f should be a function of 2 arguments. If val is not supplied, returns the result of applying f to the first 2 items i...
functionclojure.core
f should be a function of 2 arguments. Returns a channel containing the single result of applying f to init and the fi...
functionclojure.core.async
Like core/reduce except: When init is not provided, (f) is used. Maps are reduced with reduce-kv
functionclojure.core.reducers
Reduces an associative collection. f should be a function of 3 arguments. Returns the result of applying f to init, th...
functionclojure.core
Wraps x in a way such that a reduce will terminate with the value x
functionclojure.core
Returns true if x is the result of a call to reduced
functionclojure.core
Given a reducible collection, and a transformation function xf, returns a reducible collection, where any supplied red...
functionclojure.core.reducers
Returns a lazy seq of the intermediate values of the reduction (as per reduce) of coll by f, starting with init.
functionclojure.core
Creates and returns a Ref with an initial value of x and zero or more options (in any order): :meta metadata-map ...
functionclojure.core
Returns the history count of a ref
functionclojure.core
Gets the max-history of a ref, or sets it and returns the ref
functionclojure.core
Gets the min-history of a ref, or sets it and returns the ref
functionclojure.core
Must be called in a transaction. Sets the value of ref. Returns val.
functionclojure.core
refers to all public vars of ns, subject to filters. filters can include at most one each of: :exclude list-of-symb...
functionclojure.core
Same as (refer 'clojure.core <filters>)
macroclojure.core
Alpha - subject to change. Reflect on the type of obj (or obj itself if obj is a class). Return value and options ...
functionclojure.reflect
Protocol for reflection implementers.
valueclojure.reflect
- function
clojure.core.match
reify creates an object implementing a protocol or interface. reify is a macro with the following structure: (reify ...
macroclojure.core
Normally, actions sent directly or indirectly during another action are held until the action completes (changes the a...
functionclojure.core
remainder of dividing numerator by denominator.
functionclojure.core
Implements a prepl on in-reader and out-fn by forwarding to a remote [io-]prepl over a socket. Messages will be read ...
functionclojure.core.server
Returns a lazy sequence of the items in coll for which (pred item) returns logical false. pred must be free of side-ef...
functionclojure.core
Removes values in the reduction of coll for which (pred val) returns logical true. Foldable.
functionclojure.core.reducers
Removes the node at loc, returning the loc that would have preceded it in a depth-first walk.
functionclojure.zip
Removes all of the methods of multimethod.
functionclojure.core
Removes the method of multimethod associated with dispatch-value.
functionclojure.core
Removes the namespace named by the symbol. Use with caution. Cannot be used to remove the clojure namespace.
functionclojure.core
Remove f from the tap set.
functionclojure.core
Removes a watch (set by add-watch) from a reference
functionclojure.core
Returns a rel of the maps in xrel with the keys in kmap renamed to the vals in kmap
functionclojure.set
Returns the map with the keys in kmap renamed to the vals in kmap
functionclojure.set
Reads from reader, which must be a LineNumberingPushbackReader, while capturing the read string. If the read is succes...
functionclojure.main
Returns a lazy (infinite!, or length n if supplied) sequence of xs.
functionclojure.core
Takes a function of no args, presumably with side effects, and returns an infinite (or length n if supplied) lazy sequ...
functionclojure.core
REPL with predefined hooks for attachable socket server.
functionclojure.core.server
Generic, reusable, read-eval-print loop. By default, reads from *in*, writes to *out*, and prints exception summaries ...
functionclojure.main
Default :caught hook for repl
functionclojure.main
Returns the root cause of throwables
functionclojure.main
Initialize repl in user namespace and make standard repl requires.
functionclojure.core.server
Default :prompt hook for repl
functionclojure.main
Enhanced :read hook for repl supporting :repl/quit.
functionclojure.core.server
Default :read hook for repl. Reads from *in* which must either be an instance of LineNumberingPushbackReader or duplic...
functionclojure.main
A sequence of lib specs that are applied to `require` by default when a new command-line REPL is started.
valueclojure.main
Given a map of replacement pairs and a vector/collection, returns a vector/seq with any elements = a key in smap repla...
functionclojure.core
Replaces all instance of match with replacement in s. match/replacement can be: string / string char / char ...
functionclojure.string
Replaces the node at this loc, without moving
functionclojure.zip
Replaces the first instance of match with replacement in s. match/replacement can be: char / char string / st...
functionclojure.string
Generic reporting function, may be overridden to plug in different report formats (e.g., TAP, JUnit). Assertions suc...
multimethodclojure.test
Create and output an exception report for a Throwable to target. Options: :target - "file" (default), "stderr", "...
functionclojure.main
Loads libs, skipping any that are already loaded. Each argument is either a libspec that identifies a lib, a prefix li...
functionclojure.core
Resolves namespace-qualified sym per 'resolve'. If initial resolve fails, attempts to require sym's namespace and retrie...
functionclojure.core
Sets the value of atom to newval without regard for the current value. Returns newval.
functionclojure.core
Atomically resets the metadata for a namespace/var/ref/agent/atom
functionclojure.core
Sets the value of atom to newval. Returns [old new], the value of the atom before and after the reset.
functionclojure.core
same as (ns-resolve *ns* symbol) or (ns-resolve *ns* &env symbol)
functionclojure.core
Given a class name, return that typeref's class bytes as an InputStream.
protocol-methodclojure.reflect
Resolve a symbol s into its fully qualified namespace version
functionclojure.tools.reader
Returns the URL for a named resource. Use the context class loader if no loader is specified.
functionclojure.java.io
Returns a possibly empty seq of the items after the first. Calls seq on its argument.
functionclojure.core
- function
clojure.core.match
- function
clojure.core.match
When an agent is failed, changes the agent state to new-state and then un-fails the agent so that sends are allowed ag...
functionclojure.core
Creates and returns a lazy sequence of structmaps corresponding to the rows in the java.sql.ResultSet rs
functionclojure.core
- function
clojure.core.match
Returns a seq of the items in coll in reverse order. Not lazy.
functionclojure.core
Returns s with its characters reversed.
functionclojure.string
Returns true if coll implements Reversible
functionclojure.core
Returns the loc of the right sibling of the node at this loc, or nil
functionclojure.zip
Returns the loc of the rightmost sibling of the node at this loc, or self
functionclojure.zip
Returns a seq of the right siblings of this loc
functionclojure.zip
Returns the double closest to a and equal to a mathematical integer. If two values are equally close, return the even ...
functionclojure.math
zips all the way up and returns the root node, reflecting any changes.
functionclojure.zip
- function
clojure.core.match
Returns the initial cause of an exception or error by peeling off all of its wrappers
functionclojure.main
Returns the initial cause of an exception or error by peeling off all of its wrappers
functionclojure.repl
Returns the last 'cause' Throwable in a chain of Throwables.
functionclojure.stacktrace
Returns the closest long to a. If equally close to two values, return the one closer to ##Inf. If a is ##NaN => 0 ...
functionclojure.math
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
Returns, in constant time, a seq of the items in rev (which can be a vector or sorted-map), in reverse order. If rev i...
functionclojure.core
sc must be a sorted collection, test(s) one of <, <=, > or >=. Returns a reverse seq of those entries with keys ek for...
functionclojure.core
sc must be a sorted collection, test(s) one of <, <=, > or >=. Returns a reverse seq of those entries with keys ek for...
functionclojure.data.priority-map
Runs the supplied procedure (via reduce), for purposes of side effects, on successive items in the collection. Returns...
functionclojure.core
Runs all tests in all namespaces; prints results. Optional argument is a regular expression; only namespaces with na...
functionclojure.test
Runs a single test. Because the intent is to run a single test, there is no check for the namespace test-ns-hook.
macroclojure.test
Runs the tests for a single Var, with fixtures executed around the test, and summary output after.
functionclojure.test
Runs all tests in the given namespaces; prints results. Defaults to current namespace if none given. Returns a map ...
functionclojure.test
S
Returns true if x satisfies the protocol
functionclojure.core
Create a new SAXParser
functionclojure.xml
Returns d * 2^scaleFactor, scaling by a factor of 2. If the exponent is between Double/MIN_EXPONENT and Double/MAX_EXP...
functionclojure.math
- function
clojure.core.match
Same as (first (next x))
functionclojure.core
Is used to signal that the cache should be created with a seed. The contract is that said cache should return an inst...
protocol-methodclojure.core.cache
- function
clojure.core.match
Returns a set of the elements for which pred is true
functionclojure.set
Returns a map containing only those entries in map whose key is in keys
functionclojure.core
Dispatch an action to an agent. Returns the agent immediately. Subsequently, in a thread from a thread pool, the state...
functionclojure.core
Dispatch a potentially blocking action to an agent. Returns the agent immediately. Subsequently, in a separate thread,...
functionclojure.core
Dispatch an action to an agent. Returns the agent immediately. Subsequently, in a thread supplied by executor, the sta...
functionclojure.core
Returns a seq on the collection. If the collection is empty, returns nil. (seq nil) returns nil. seq also works on ...
functionclojure.core
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
Builds a map from a seq as described in https://clojure.org/reference/special_forms#keyword-arguments
functionclojure.core
Takes a seq of events that logically represents a tree by each event being one of: enter-sub-tree event, exit-sub-tr...
functionclojure.data.xml.tree
Returns a zipper for nested sequences, given a root sequence
functionclojure.zip
Return true if x implements ISeq
functionclojure.core
Return true if the seq function is supported for x
functionclojure.core
Creates a queued seq on another (presumably lazy) seq s. The queued seq will produce a concrete seq in the background,...
functionclojure.core
Coerces coll to a (possibly empty) sequence, if it is not already one. Will not force a lazy seq. (sequence nil) yield...
functionclojure.core
Returns true if coll implements Sequential
functionclojure.core
Returns a set of the distinct elements of coll.
functionclojure.core
Assigns a new value to a var or field.
special-formclojure.core
Sets the ExecutorService to be used by send
functionclojure.core
Sets the ExecutorService to be used by send-off
functionclojure.core
Register INT signal handler. After calling this, Ctrl-C will cause the given function f to be called with a single ar...
functionclojure.repl
Sets the error-handler of agent a to handler-fn. If an action being run by the agent throws an exception or doesn't p...
functionclojure.core
Sets the error-mode of agent a to mode-keyword, which must be either :fail or :continue. If an action being run by th...
functionclojure.core
Set the pretty print dispatch function to a function matching (fn [obj] ...) where obj is the object to pretty print. Th...
functionclojure.pprint
Experimental. Sets :test metadata of the named var to a fn with the given body. The var must already exist. Does no...
macroclojure.test
Sets the validator-fn for a var/ref/agent/atom. validator-fn must be nil or a side-effect-free fn of one argument, whi...
functionclojure.core
Returns true if x implements IPersistentSet
functionclojure.core
Convert a single sexp into an Element
functionclojure.data.xml.prxml
Convert a compact prxml/hiccup-style data structure into the more formal tag/attrs/content format. A seq of elements ...
functionclojure.data.xml.prxml
Passes the given strings to Runtime.exec() to launch a sub-process. Options are :in may be given followed by ...
functionclojure.java.shell
Coerce to short
functionclojure.core
Creates an array of shorts
functionclojure.core
Casts to shorts[]
functionclojure.core
Return a random permutation of coll
functionclojure.core
Initiates a shutdown of the thread pools that back the agent system. Running actions will complete, but no new actions...
functionclojure.core
Returns the signum function of d - zero for zero, 1.0 if >0, -1.0 if <0. If d is ##NaN => ##NaN See: https://docs.or...
functionclojure.math
The pretty print dispatch function for simple data structure format.
multimethodclojure.pprint
Return true if x is a symbol or keyword without a namespace
functionclojure.core
Return true if x is a keyword without a namespace
functionclojure.core
Return true if x is a symbol without a namespace
functionclojure.core
Returns the sine of an angle. If a is ##NaN, ##-Inf, ##Inf => ##NaN If a is zero => zero with the same sign as a S...
functionclojure.math
Returns the hyperbolic sine of x, (e^x - e^-x)/2. If x is ##NaN => ##NaN If x is ##Inf or ##-Inf or zero => x See:...
functionclojure.math
If the next character on stream s is a newline, skips it, otherwise leaves the stream untouched. Returns :line-start, ...
functionclojure.main
Skips whitespace characters on stream s. Returns :line-start, :stream-end, or :body to indicate the relative location ...
functionclojure.main
Returns a buffer of size n. When full, puts will complete, and be buffered, but oldest elements in buffer will be drop...
functionclojure.core.async
Opens a reader on f and reads all its contents, returning a string. See clojure.java.io/reader for a complete list of ...
functionclojure.core
Returns a snapshot of a core.memo-placed memoization cache. By snapshot you can infer that what you get is only the ...
functionclojure.core.memoize
Returns a SoftReference cache. Cached values will be referred to with SoftReferences, allowing the values to be garba...
functionclojure.core.cache
Sets the solo mode of the mix. mode must be one of :mute or :pause
functionclojure.core.async
- protocol-method
clojure.core.async
Returns the first logical true value of (pred x) for any x in coll, else nil. One common idiom is to use a set as pre...
functionclojure.core
When expr is not nil, threads it into the first form (via ->), and when that result is not nil, through the next etc
macroclojure.core
When expr is not nil, threads it into the first form (via ->>), and when that result is not nil, through the next etc
macroclojure.core
Takes a set of predicates and returns a function f that returns the first logical true value returned by one of its co...
functionclojure.core
Returns true if x is not nil, false otherwise.
functionclojure.core
Returns a sorted sequence of the items in coll. If no comparator is supplied, uses compare. comparator must implement...
functionclojure.core
Returns a sorted sequence of the items in coll, where the sort order is determined by comparing (keyfn item). If no c...
functionclojure.core
keyval => key val Returns a new sorted map with supplied mappings. If any keys are equal, they are handled as if by...
functionclojure.core
keyval => key val Returns a new sorted map with supplied mappings, using the supplied comparator. If any keys are e...
functionclojure.core
Returns a new sorted set with supplied keys. Any equal keys are handled as if by repeated uses of conj.
functionclojure.core
Returns a new sorted set with supplied keys, using the supplied comparator. Any equal keys are handled as if by repea...
functionclojure.core
Returns true if coll implements Sorted
functionclojure.core
Prints the source code for the given symbol, if it can find it. This requires that the symbol resolve to a Var defined...
macroclojure.repl
Returns a string of the source code for the given symbol, if it can find it. This requires that the symbol resolve to...
functionclojure.repl
Returns true if s names a special form
functionclojure.core
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
Opposite of slurp. Opens f with writer, writes content, then closes f. Options passed to clojure.java.io/writer.
functionclojure.core
Takes a predicate and a source channel and returns a vector of two channels, the first of which will contain the value...
functionclojure.core.async
Splits string on a regular expression. Optional argument limit is the maximum number of parts. Not lazy. Returns vect...
functionclojure.string
Returns a vector of [(take n coll) (drop n coll)]
functionclojure.core
Splits s on \n or \r\n. Trailing empty lines are not returned.
functionclojure.string
- function
clojure.core.match
Returns a vector of [(take-while pred coll) (drop-while pred coll)]
functionclojure.core
Returns a vector of [(into [] (take n) coll) (drop n coll)]
functionclojure.core
Evaluates expr and may write the form and its result to the log. Returns the result of expr. Defaults to :debug log le...
macroclojure.tools.logging
Evaluates expr and may write (format fmt result) to the log. Returns the result of expr. Defaults to :debug log level....
macroclojure.tools.logging
Returns the positive square root of a. If a is ##NaN or negative => ##NaN If a is ##Inf => ##Inf If a is zero => a...
functionclojure.math
Returns a (possibly unmunged) string representation of a StackTraceElement
functionclojure.main
Returns a (possibly unmunged) string representation of a StackTraceElement
functionclojure.repl
Constructs a data representation for a StackTraceElement: [class method file line]
functionclojure.core
Start an external command, defined in args. The process environment vars are inherited from the parent by default (u...
functionclojure.java.process
- function
clojure.test.junit
- function
clojure.test.junit
Start a socket server given the specified opts: :address Host or address, string, defaults to loopback address :...
functionclojure.core.server
Start all servers specified in the system properties.
functionclojure.core.server
- function
clojure.test.junit
A startparse function suitable for use with clojure.xml/parse. Note that this function is open to XXE entity attacks, ...
functionclojure.xml
A startparse function suitable for use with clojure.xml/parse. External entity resolution is disabled to prevent XXE e...
functionclojure.xml
True if s starts with substr.
functionclojure.string
Given a process, return the stderr of the external process (an InputStream)
functionclojure.java.process
Given a process, return the stdin of the external process (an OutputStream)
functionclojure.java.process
Given a process, return the stdout of the external process (an InputStream)
functionclojure.java.process
Stop server with name or use the server-name from *session* if none supplied. Returns true if server stopped successfu...
functionclojure.core.server
Stop all servers ignores all errors, and returns nil.
functionclojure.core.server
With no args, returns the empty string. With one arg x, returns x.toString(). (str nil) returns the empty string. Wit...
functionclojure.core
Returns a new coll consisting of coll with all of the items of the stream conjoined. This is a terminal operation on t...
functionclojure.core
Works like reduce but takes a java.util.stream.BaseStream as its source. Honors 'reduced', is a terminal operation on ...
functionclojure.core
Takes a java.util.stream.BaseStream instance s and returns a seq of its contents. This is a terminal operation on the ...
functionclojure.core
Works like transduce but takes a java.util.stream.BaseStream as its source. This is a terminal operation on the stream...
functionclojure.core
Return true if x is a String
functionclojure.core
Recursively transforms all map keys from keywords to strings.
functionclojure.walk
Returns a new structmap instance with the keys of the structure-basis. vals must be supplied for basis keys in order -...
functionclojure.core
Returns a new structmap instance with the keys of the structure-basis. keyvals may contain all, some or none of the ba...
functionclojure.core
Subscribes a channel to a topic of a pub. By default the channel will be closed when the source closes, but can be ...
functionclojure.core.async
- protocol-method
clojure.core.async
Returns the substring of s beginning at start inclusive, and ending at end (defaults to length of string), exclusive.
functionclojure.core
sc must be a sorted collection, test(s) one of <, <=, > or >=. Returns a seq of those entries with keys ek for which...
functionclojure.core
sc must be a sorted collection, test(s) one of <, <=, > or >=. Returns a seq of those entries with keys ek for which...
functionclojure.data.priority-map
Is set1 a subset of set2?
functionclojure.set
Returns the difference of x and y, throws ArithmeticException on overflow. See: https://docs.oracle.com/javase/8/docs/...
functionclojure.math
Returns a persistent vector of the items in vector from start (inclusive) to end (exclusive). If end is not supplied,...
functionclojure.core
- multimethod
clojure.core.match
Returns true if the given test summary indicates all tests were successful, false otherwise.
functionclojure.test
- function
clojure.test.junit
Reduce options specs into a options summary for printing at a terminal. Note that the specs argument should be the com...
functionclojure.tools.cli
Returns the immediate and indirect superclasses and interfaces of c, if any
functionclojure.core
Is set1 a superset of set2?
functionclojure.set
Atomically swaps the value of atom to be: (apply f current-value-of-atom args). Note that f may be called multiple t...
functionclojure.core
Atomically swaps the value of atom to be: (apply f current-value-of-atom args). Note that f may be called multiple t...
functionclojure.core
- function
clojure.core.match
Returns a Symbol with the given namespace and name. Arity-1 works on strings, keywords, and vars.
functionclojure.core
- function
clojure.data.xml.name
Return true if x is a Symbol
functionclojure.core
transaction-flags => TBD, pass nil for now Runs the exprs (in an implicit do) in a transaction that encompasses exp...
macroclojure.core
Calls add-libs with any libs present in deps.edn but not yet present on the classpath. :aliases - coll of alias key...
functionclojure.repl.deps
Macro equivalent to the syntax-quote reader macro (`).
macroclojure.tools.reader
Returns a sequence of File paths from the 'java.class.path' system property.
functionclojure.java.classpath
T
- multimethod
clojure.inspector
- multimethod
clojure.core.match
- value
clojure.xml
Construct a data representation of a tagged literal from a tag symbol and a form.
functionclojure.core
Return true if the value is the data representation of a tagged literal
functionclojure.core
Returns a lazy sequence of the first n items in coll, or all items if there are fewer than n. Returns a stateful tran...
functionclojure.core
Returns a channel that will return, at most, n items from ch. After n items have been returned, or ch has been closed...
functionclojure.core.async
Ends the reduction of coll after consuming n values.
functionclojure.core.reducers
Asynchronously takes a val from port, passing to fn1. Will pass nil if closed. If on-caller? (default true) is true, ...
functionclojure.core.async
Returns a seq of the last n items in coll. Depending on the type of coll may be no better than linear time. For vect...
functionclojure.core
Returns a lazy seq of every nth item in coll. Returns a stateful transducer when no collection is provided.
functionclojure.core
Returns a lazy sequence of successive items from coll while (pred item) returns logical true. pred must be free of sid...
functionclojure.core
Ends the reduction of coll when (pred val) returns logical false.
functionclojure.core.reducers
Returns the tangent of an angle. If a is ##NaN, ##-Inf, ##Inf => ##NaN If a is zero => zero with the same sign as a ...
functionclojure.math
Returns the hyperbolic tangent of x, sinh(x)/cosh(x). If x is ##NaN => ##NaN If x is zero => zero, with same sign ...
functionclojure.math
Copies the mult source onto the supplied channel. By default the channel will be closed when the source closes, but...
functionclojure.core.async
- protocol-method
clojure.core.async
- multimethod
clojure.test.tap
sends x to any taps. Will not block. Returns true if there was room in the queue, false if not (dropped).
functionclojure.core
test [v] finds fn at key :test in var metadata and calls it, presuming failure will throw exception
functionclojure.core
Calls test-vars on every var interned in the namespace, with fixtures.
functionclojure.test
- multimethod
clojure.core.match
- function
clojure.test.junit
If the namespace defines a function named test-ns-hook, calls that. Otherwise, calls test-all-vars on the namespace. ...
functionclojure.test
If v has a function in its :test metadata, calls that function, with *testing-vars* bound to (conj *testing-vars* v).
functionclojure.test
Groups vars by their namespace and runs test-var on them with appropriate fixtures applied.
functionclojure.test
- multimethod
clojure.core.match
- multimethod
clojure.core.match
Adds a new string to the list of testing contexts. May be nested, but must occur inside a test function (deftest).
macroclojure.test
Returns a string representation of the current test context. Joins strings in *testing-contexts* with spaces.
functionclojure.test
Returns a string representation of the current test. Renders names in *testing-vars* as a list, then the source file ...
functionclojure.test
If passed a namespace, returns it. Else, when passed a symbol, returns the namespace named by it, throwing an exceptio...
functionclojure.core
Executes the body in another thread, returning immediately to the calling thread. Returns a channel which will receive...
macroclojure.core.async
Returns true if all of the vars provided as arguments have thread-local bindings. Implies that set!'ing the provided ...
functionclojure.core
Executes f in another thread, returning immediately to the calling thread. Returns a channel which will receive the re...
functionclojure.core.async
Returns a function that takes one arg and uses that as an exception message to stop the given thread. Defaults to the...
functionclojure.repl
The basic hit/miss logic for the cache system. Expects a wrap function and value function. The wrap function takes t...
functionclojure.core.cache
The basic hit/miss logic for the cache system. Like through but always has the cache argument in the first position f...
functionclojure.core.cache
Throws an instance of Throwable.
special-formclojure.core
Constructs a data representation for a Throwable with keys: :cause - root cause message :phase - error phase ...
functionclojure.core
Evaluates expr and prints the time it took. Returns the value of expr.
macroclojure.core
Returns a channel that will close after msecs
functionclojure.core.async
Returns an array of Objects containing the contents of coll, which can be any Collection. Maps to java.util.Collectio...
functionclojure.core
Returns a (potentially-ragged) 2-dimensional array of Objects containing the contents of coll, which can be any Collec...
functionclojure.core
Creates and returns a channel which contains the contents of coll, closing when exhausted. If accessing coll might ...
functionclojure.core.async
Like to-chan! for use when accessing coll might block, e.g. a lazy seq of blocking operations
functionclojure.core.async
Converts an angle in radians to an approximate equivalent angle in degrees. See: https://docs.oracle.com/javase/8/docs...
functionclojure.math
Coerce f to a file per clojure.java.io/file and return a ProcessBuilder.Redirect writing to the file. Set ':append' in...
functionclojure.java.process
Take an unprocessed pattern expression and an action expression and return a pattern row of the processed pattern exp...
functionclojure.core.match
Converts an angle in degrees to an approximate equivalent angle in radians. See: https://docs.oracle.com/javase/8/docs...
functionclojure.math
Returns a Clojure form that, when executed, is truthy if the pattern matches the occurrence. Dispatches on the `type` ...
multimethodclojure.core.match
Atomically sets the state(s) of one or more channels in a mix. The state map is a map of channels -> channel-state-map...
functionclojure.core.async
- protocol-method
clojure.core.async
Trace level logging using print-style args. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.
macroclojure.tools.logging
Trace level logging using format. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.
macroclojure.tools.logging
trampoline can be used to convert algorithms requiring mutual recursion without stack consumption. Calls f with suppli...
functionclojure.core
reduce with a transformation of f (xf). If init is not supplied, (f) will be called to produce it. f should be a reduc...
functionclojure.core
async/reduces a channel with a transformation (xform f). Returns a channel containing the result. ch must close befor...
functionclojure.core.async
Returns a new, transient version of the collection, in constant time. Transients support a parallel set of 'changing'...
functionclojure.core
- function
clojure.inspector
Returns a lazy sequence of the nodes in a tree, via a depth-first walk. branch? must be a fn of one arg that returns ...
functionclojure.core
Removes whitespace from both ends of string.
functionclojure.string
Removes all trailing newline \n or return \r characters from string. Similar to Perl's chomp.
functionclojure.string
Removes whitespace from the left side of string.
functionclojure.string
Removes whitespace from the right side of string.
functionclojure.string
Returns true if x is the value true, false otherwise.
functionclojure.core
try / catch / finally exception handling.
special-formclojure.core
Used by the 'is' macro to catch unexpected exceptions. You don't call this.
macroclojure.test
Unlike many of the other core.memo memoization functions, `memo-ttl`'s cache policy is time-based rather than algorit...
functionclojure.core.memoize
Returns a TTL cache with the cache and expiration-table initialized to `base` -- each with the same time-to-live. ...
functionclojure.core.cache
Returns the :type metadata of x, or its Class if none
functionclojure.core
Alpha - subject to change. Reflect on a typeref, returning a map with :bases, :flags, and :members. In the discussi...
functionclojure.reflect
Returns Java name as returned by ASM getClassName, e.g. byte[], java.lang.String[]
protocol-methodclojure.reflect
A TypeReference can be unambiguously converted to a type name on the host platform. All typerefs are normalized i...
valueclojure.reflect
U
Returns the size of an ulp (unit in last place) for d. If d is ##NaN => ##NaN If d is ##Inf or ##-Inf => ##Inf If ...
functionclojure.math
Returns true if a channel created with buff will never block. That is to say, puts into this buffer will never cause ...
functionclojure.core.async
Returns the sum of x and y, both long. Note - uses a primitive operator subject to overflow.
functionclojure.core
Returns the sum of x and y, both int. Note - uses a primitive operator subject to overflow.
functionclojure.core
Coerce to byte. Subject to rounding or truncation.
functionclojure.core
Coerce to char. Subject to rounding or truncation.
functionclojure.core
Returns a number one less than x, a long. Note - uses a primitive operator subject to overflow.
functionclojure.core
Returns a number one less than x, an int. Note - uses a primitive operator subject to overflow.
functionclojure.core
Returns the division of x by y, both int. Note - uses a primitive operator subject to truncation.
functionclojure.core
Coerce to double. Subject to rounding.
functionclojure.core
Coerce to float. Subject to rounding.
functionclojure.core
Returns a number one greater than x, a long. Note - uses a primitive operator subject to overflow.
functionclojure.core
Returns a number one greater than x, an int. Note - uses a primitive operator subject to overflow.
functionclojure.core
Coerce to int. Subject to rounding or truncation.
functionclojure.core
Coerce to long. Subject to rounding or truncation.
functionclojure.core
Returns the product of x and y, both long. Note - uses a primitive operator subject to overflow.
functionclojure.core
Returns the product of x and y, both int. Note - uses a primitive operator subject to overflow.
functionclojure.core
Returns the negation of x, a long. Note - uses a primitive operator subject to overflow.
functionclojure.core
Returns the negation of x, an int. Note - uses a primitive operator subject to overflow.
functionclojure.core
Returns the remainder of division of x by y, both int. Note - uses a primitive operator subject to truncation.
functionclojure.core
Coerce to short. Subject to rounding or truncation.
functionclojure.core
Returns the difference of x and y, both long. Note - uses a primitive operator subject to overflow.
functionclojure.core
Returns the difference of x and y, both int. Note - uses a primitive operator subject to overflow.
functionclojure.core
Removes a parent/child relationship between parent and tag. h must be a hierarchy obtained from make-hierarchy, if not...
functionclojure.core
Return a set that is the union of the input sets
functionclojure.set
Removes ch as an input to the mix
functionclojure.core.async
- protocol-method
clojure.core.async
removes all inputs from the mix
functionclojure.core.async
- protocol-method
clojure.core.async
- value
clojure.core
- value
clojure.core
If x is reduced?, returns (deref x), else returns x
functionclojure.core
Bitwise shift right, without sign-extension.
functionclojure.core
Unsubscribes a channel from a topic of a pub
functionclojure.core.async
- protocol-method
clojure.core.async
Unsubscribes all channels from a pub, or a topic of a pub
functionclojure.core.async
- protocol-method
clojure.core.async
Disconnects a target channel from a mult
functionclojure.core.async
- protocol-method
clojure.core.async
Disconnects all target channels from a mult
functionclojure.core.async
- protocol-method
clojure.core.async
Returns the loc of the parent of the node at this loc, or nil if at the top
functionclojure.zip
'Updates' a value in an associative structure, where k is a key and f is a function that will take the old value and...
functionclojure.core
'Updates' a value in a nested associative structure, where ks is a sequence of keys and f is a function that will take...
functionclojure.core
m f => {(f k) v ...} Given a map m and a function f of 1-argument, returns a new map whose keys are the result of a...
functionclojure.core
- function
clojure.core.match
Takes a proxy instance and a map of strings (which must correspond to methods of the proxy superclass/superinterfaces)...
functionclojure.core
m f => {k (f v) ...} Given a map m and a function f of 1-argument, returns a new map where the keys of m are mapped...
functionclojure.core
Converts string to all upper-case.
functionclojure.string
Dummy file name for :require'ing xmlns uri
functionclojure.data.xml.name
- function
clojure.data.xml.name
Return true if x is a java.net.URI
functionclojure.core
- value
clojure.java.classpath
Returns a sequence of java.net.URL objects representing locations which this classloader will search for classes and r...
protocol-methodclojure.java.classpath
Like 'require, but also refers to each lib's namespace using clojure.core/refer. Use :use in the ns macro in preferenc...
functionclojure.core
Wrap test runs in a fixture function to perform setup and teardown. Using a fixture-type of :each wraps every test i...
multimethodclojure.test
- function
clojure.core.match
Return true if x is a java.util.UUID
functionclojure.core
V
Returns the value in the map entry.
functionclojure.core
- function
clojure.core.match
- function
clojure.core.match
Return a function which constructs an instant by calling constructor after first validating that those arguments are in ...
functionclojure.instant
Returns a sequence of the map's values, in the same order as (seq map).
functionclojure.core
Resolves a symbol to its Var object.
special-formclojure.core
Gets the value in the var object
functionclojure.core
Sets the value in the var object to val. The var must be thread-locally bound.
functionclojure.core
Returns true if v is of type clojure.lang.Var
functionclojure.core
Returns an object of the same type and value as obj, with (apply f (meta obj) args) as its metadata.
functionclojure.core
Creates a new vector containing the contents of coll. Java arrays will be aliased and should not be modified.
functionclojure.core
Creates a new vector containing the args.
functionclojure.core
Creates a new vector of a single primitive type t, where t is one of :int :long :float :double :byte :short :char or :...
functionclojure.core
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
Returns a zipper for nested vectors, given a root vector
functionclojure.zip
Return true if x implements IPersistentVector
functionclojure.core
Creates and returns a Volatile with an initial value of val.
functionclojure.core
Returns true if x is a volatile.
functionclojure.core
Sets the value of volatile to newval without regard for the current value. Returns newval.
functionclojure.core
Non-atomically swaps the value of the volatile as if: (apply f current-value-of-vol args). Returns the value that ...
macroclojure.core
W
Traverses form, an arbitrary data structure. inner and outer are functions. Applies inner to each element of form, b...
functionclojure.walk
- function
clojure.core.match
Warn level logging using print-style args. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.
macroclojure.tools.logging
Warn level logging using format. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.
macroclojure.tools.logging
Evaluates test. If logical true, evaluates body in an implicit do.
macroclojure.core
bindings => x xs Roughly the same as (when (seq xs) (let [x (first xs)] body)) but xs is evaluated only once
macroclojure.core
bindings => binding-form test When test is true, evaluates body with binding-form bound to the value of test
macroclojure.core
Evaluates test. If logical false, evaluates body in an implicit do.
macroclojure.core
bindings => binding-form test When test is not nil, evaluates body with binding-form bound to the value of test
macroclojure.core
Repeatedly executes body while test expression is true. Presumes some side-effect will cause test to become false/nil....
macroclojure.core
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
- function
clojure.core.match
Returns a vector of two elements: the set of all wildcards and the set of duplicate wildcards. The underbar _ is ex...
functionclojure.core.match
Takes a map of Var/value pairs. Installs for the given Vars the associated values as thread-local bindings. Then execu...
macroclojure.core
Executes body in the context of thread-local bindings for several vars that often need to be set!: *ns* *warn-on-refle...
macroclojure.main
Takes a map of Var/value pairs. Installs for the given Vars the associated values as thread-local bindings. Then calls...
functionclojure.core
Evaluates body in a context in which *in* is bound to a fresh StringReader initialized with the string s.
macroclojure.core
Execute body with modified test-is reporting functions that write JUnit-compatible XML output.
macroclojure.test.junit
- macro
clojure.core
varbinding=> symbol init-expr Executes the exprs in a context in which the symbols are bound to vars with per-threa...
macroclojure.core
Evaluates exprs in a context in which *out* and *err* write to the log. The specified logger-ns value will be used to ...
macroclojure.tools.logging
Returns an object of the same type and value as obj, with map m as its metadata.
functionclojure.core
bindings => [name init ...] Evaluates body in a try expression with names bound to the values of the inits, and a f...
macroclojure.core
Evaluates exprs in a context in which *out* is bound to a fresh StringWriter. Returns the string created by any neste...
macroclojure.core
Execute body with the pretty print dispatch function bound to function.
macroclojure.pprint
Sets the precision and rounding mode to be used for BigDecimal operations. Usage: (with-precision 10 (/ 1M 3)) or: ...
macroclojure.core
Evaluates body with *read-eval* set to a "known" value, i.e. substituting true for :unknown if necessary.
macroclojure.main
binding => var-symbol temp-value-expr Temporarily redefines Vars while executing the body. The temp-value-exprs wi...
macroclojure.core
Temporarily redefines Vars during a call to func. Each val of binding-map will replace the root value of its key whic...
functionclojure.core
Sets the directory for use with sh, see sh for details.
macroclojure.java.shell
Sets the environment for use with sh, see sh for details.
macroclojure.java.shell
- function
clojure.core.match
Execute body with modified test reporting functions that produce TAP output
macroclojure.test.tap
Takes any definition form (that returns a Var) as the first argument. Remaining body goes in the :test metadata functi...
macroclojure.test
Runs body with *out* bound to the value of *test-out*.
macroclojure.test
- function
clojure.core.match
Write JSON-formatted output to a java.io.Writer. Options are key-value pairs, valid options are: :escape-unicode...
functionclojure.data.json
Write an object subject to the current bindings of the printer control variables. Use the kw-args argument to override i...
functionclojure.pprint
Writes data to writer in CSV-format. Valid options are :separator (Default \,) :quote (Default \") :q...
functionclojure.data.csv
DEPRECATED; replaced by 'write'. Print object to PrintWriter out as JSON
functionclojure.data.json
Write an object to *out* subject to the current bindings of the printer control variables. Use the kw-args argument to ...
functionclojure.pprint
Converts x to a JSON-formatted string. Options are the same as write.
functionclojure.data.json
Attempts to coerce its argument into an open java.io.Writer. Default implementations always return a java.io.Buffered...
functionclojure.java.io
X
Create a Comment node
functionclojure.data.xml.node
A tree seq on the xml elements as per xml/parse
functionclojure.core
Returns a zipper for xml elements (as from xml/parse), given a root element
functionclojure.zip
Z
^
Metadata. ^{:k v} form attaches metadata to the next form.
reader-macroclojure.core
`
Syntax quote. Resolves symbols to fully-qualified names; allows ~ and ~@.
reader-macroclojure.core