All Functions
1823 entries
$
Convenience macro around `process`. Takes command as varargs. Options can be passed via metadata on the form or as a f...
macrobabashka.process
*
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
- value
sci.core
bound in a repl thread to the second most recent value printed
valueclojure.core
- value
sci.core
bound in a repl thread to the third most recent value printed
valueclojure.core
- value
sci.core
- value
clojure.tools.reader
- value
clojure.core
The version info for Clojure core, as a map containing :major :minor :incremental and :qualifier keys. Feature releas...
valueclojure.core
- value
clojure.core
- value
clojure.core
- value
clojure.core
- value
clojure.core
- value
taoensso.timbre
- value
clojure.java.javadoc
Map from reader tag symbols to data reader Vars. When Clojure starts, it searches for files named 'data_readers.clj' ...
valueclojure.core
- value
clojure.tools.reader
- value
org.httpkit.client
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
- value
clojure.tools.reader
Dynamic var containing overridable default options. Use `alter-var-root` to change permanently or `binding` to change ...
valuebabashka.process
bound in a repl thread to the most recent exception caught by the repl
valueclojure.core
- value
sci.core
A java.io.Writer object representing standard error for print operations.
valueclojure.core
- value
hiccup.util
- value
selmer.util
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
hiccup.util
A java.io.Reader object representing standard input for read operations.
valueclojure.core
- value
clojure.test
- value
cheshire.factory
- value
clojure.test
- value
clojure.java.javadoc
An instance satisfying the clojure.tools.logging.impl/LoggerFactory protocol, which allows uniform access to an underl...
valueclojure.tools.logging
- value
clojure.core
A sci.lang.Namespace object representing the current namespace.
valueclojure.core
- value
clojure.java.browse
A java.io.Writer object representing standard output for print operations.
valueclojure.core
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
- value
clojure.pprint
*print-namespace-maps* controls whether the printer will print namespace map literal syntax. It defaults to false, but...
valueclojure.core
- multimethod
clojure.pprint
When set to logical false, strings and characters will be printed with non-alphanumeric characters converted to the ap...
valueclojure.core
- value
clojure.pprint
Defaults to true (or value specified by system property, see below) ***This setting implies that the full power of the...
valueclojure.core
- value
clojure.core
- value
clojure.java.javadoc
- value
clojure.core
- value
clojure.test
- value
clojure.java.shell
- value
clojure.java.shell
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
- value
clojure.test
- value
clojure.core
- value
babashka.tasks
- value
clojure.test
- value
clojure.test
- value
clojure.test
While bound to true, compilations of +, -, *, inc, dec and the coercions will be done without overflow checks. While b...
valueclojure.core
When set to true, the compiler will emit warnings when reflection is needed to resolve Java method calls or field acce...
valueclojure.core
+
-
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
Constructs a `java.net.Authenticator`. Options: * `:user` - the username * `:pass` - the password
functionbabashka.http-client
Constructs a `java.net.CookieHandler` using `java.net.CookieManager`. Options: * `:store` - an optional `java....
functionbabashka.http-client
Positional factory function for class clojure.core.Eduction.
functionclojure.core
Positional factory function for class clojure.test.check.properties.ErrorResult.
functionclojure.test.check.properties
Constructs a `java.util.concurrent.Executor`. Options: * `:threads` - constructs a `ThreadPoolExecutor` with the...
functionbabashka.http-client
Positional factory function for class clojure.test.check.generators.Generator.
functionclojure.test.check.generators
Turns a markdown string or document node into hiccup. Optionally takes `hiccup-renderers` as first argument.
functionnextjournal.markdown
Constructs a `java.net.ProxySelector`. Options: * `:host` - string * `:port` - long
functionbabashka.http-client
DEPRECATED. Renamed to [[root-string]].
functionrewrite-clj.zip
Positional factory function for class clojure.test.check.rose_tree.RoseTree.
functionclojure.test.check.rose-tree
Constructs a `javax.net.ssl.SSLContext`. Options: * `:key-store` - a file, URI or URL or anything else that is com...
functionbabashka.http-client
Constructs a `javax.net.ssl.SSLParameters`. Options: * `:ciphers` - a list of cipher suite names * `:protocol...
functionbabashka.http-client
DEPRECATED. Renamed to [[string]].
functionrewrite-clj.zip
- function
clojure.core
- function
babashka.tasks
- function
sci.core
- macro
babashka.tasks
- function
clojure.core
Core low-level log fn. Private, don't use!
functiontaoensso.timbre
- macro
taoensso.timbre
- function
docs-extractor.babashka
- function
clojure.core
- function
clojure.core
- function
clojure.core
- function
clojure.core
- macro
taoensso.timbre
Executes f in another virtual thread, returning immediately to the calling thread. Returns a channel which will receiv...
functionclojure.core.async
- function
babashka.tasks
- function
clojure.core
.
/
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. Will return nil if closed. Will block if nothing is available. Not intended for use in direct...
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
Resolves the variables from your template string from the local-env, or the namespace and puts them into your template...
macroselmer.parser
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. Will block if no buffer space is available. Returns true unless port...
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
A
Closes this WebSocket's input and output abruptly.
functionbabashka.http-client.websocket
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 true if `f` represents an absolute path via [Path#isAbsolute](https://docs.oracle.com/en/java/javase/11/docs/api...
functionbabashka.fs
Converts `f` into an absolute `Path` via [Path#toAbsolutePath](https://docs.oracle.com/en/java/javase/11/docs/api/java.b...
functionbabashka.fs
Request: adds `:accept` header. Only supported value is `:json`.
valuebabashka.http-client.interceptors
Issues an async HTTP ACL request. See `request` for details.
functionorg.httpkit.client
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
Adds class (JVM class or JS object) to `ctx` as `class-name` (a symbol). Returns mutated context.
functionsci.core
Adds extra-classpath, a string as for example returned by clojure -Spath, to the current classpath.
functionbabashka.classpath
Takes deps edn map and optionally a map with :aliases (seq of keywords) which will used to calculate classpath. The cl...
functionbabashka.deps
Provide an encoder for a type not handled by Cheshire. ex. (add-encoder java.net.URL encode-string) See encode-s...
functioncheshire.generate
Returns the sum of x and y, throws ArithmeticException on overflow. See: https://docs.oracle.com/javase/8/docs/api/jav...
functionclojure.math
- function
selmer.filters
- function
selmer.parser
Adds import of class named by `class-name` (a symbol) to namespace named by `ns-name` (a symbol) under alias `alias` (a ...
functionsci.core
- function
clojure.java.javadoc
Adds namespace map `ns-map` named by the symbol `ns-name` to `ctx`. Returns mutated context.
functionsci.core
- function
selmer.parser
- function
clojure.java.javadoc
tag name, fn handler, and maybe tags
macroselmer.parser
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
- function
babashka.pods
- function
babashka.pods
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
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
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
Returns `true` if the process is still running and false otherwise.
functionbabashka.process
Returns every java.lang.Class instance Babashka supports.
functionbabashka.classes
Returns a sequence of all namespaces.
functionclojure.core
Returns all SCI ns objects in the `ctx`
functionsci.core
- macro
clojure.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
Atomically alters the root binding of sci var v by applying f to its current value plus any args.
functionsci.core
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
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
A recursive generator that will generate many different, often nested, values
valueclojure.test.check.generators
Like any, but only generates objects that can be equal to other objects (e.g., do not contain a NaN)
valueclojure.test.check.generators
Like any, but avoids characters that the shell will interpret as actions, like 7 and 14 (bell and alternate character ...
valueclojure.test.check.generators
Like any, but avoids characters that the shell will interpret as actions, like 7 and 14 (bell and alternate character ...
valueclojure.test.check.generators
Returns true given any argument.
functionclojure.core
Inserts the item as the rightmost child of the node at this loc, without moving
functionclojure.zip
Return `zloc` with `item` inserted as the last child of the current node in `zloc`, without moving location. If `item`...
functionrewrite-clj.zip
Raw version of [[append-child]]. Returns zipper with node `item` inserted as the rightmost child of the current node in...
functionrewrite-clj.zip
DEPRECATED: renamed to [[insert-newline-right]].
functionrewrite-clj.zip
- function
selmer.parser
DEPRECATED: renamed to [[insert-space-right]].
functionrewrite-clj.zip
Applies fn f to the argument list formed by prepending intervening arguments to args.
functionclojure.core
- function
clojure.template
- function
clojure.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
Binds name to expr, evaluates the first form in the lexical context of that binding, then binds name to that result, r...
macroclojure.core
Returns `{:body ch}`, where `ch` is the request's underlying asynchronous HTTP or WebSocket `AsyncChannel`. Main op...
functionorg.httpkit.server
Coerce argument to a file.
multimethodclojure.java.io
- function
clojure.data.xml
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.
multimethodclojure.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
SCI var that represents SCI's clojure.core/*assert*
valuesci.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
Returns `zloc` with current node's `k` set to value `v`. `zloc` location is unchanged. `k` should be: - a key fo...
functionrewrite-clj.zip
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
Auto-coerces `s` to data. Does not coerce when `s` is not a string. If `s`: * is `true` or `false`, it is coerced as...
functionbabashka.cli
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
B
Pre-allocated exception used for backtracing
valueclojure.core.match
Returns `zloc` with leftmost node of the parent sequence pushed left out of the sequence. - `[1 2 [3 |4] 5] => [1 2 3...
functionrewrite-clj.paredit
Returns `zloc` with rightmost node of the parent sequence pushed right out of the sequence. Comments and newlines pre...
functionrewrite-clj.paredit
Request: adds `:authorization` header based on `:basic-auth` (a map of `:user` and `:pass`) in request.
valuebabashka.http-client.interceptors
Takes a Java object and returns a read-only implementation of the map abstraction based upon its JavaBean properties.
functionclojure.core
Generates a ratio (or integer) using gen/size-bounded-bigint. Shrinks toward simpler ratios, which may be larger or sm...
valueclojure.test.check.generators
Coerce to BigDecimal
functionclojure.core
Coerce to BigInt
functionclojure.core
Coerce to BigInteger
functionclojure.core
Creates a new generator that passes the result of `gen` into function `f`. `f` should return a new generator. This all...
functionclojure.test.check.generators
Takes a Rose tree (m) and a function (k) from values to Rose tree and returns a new Rose tree. This is the monadic b...
functionclojure.test.check.rose-tree
binding => var-symbol init-expr Creates new bindings for the (already-existing) vars, with the supplied initial val...
macroclojure.core
Macro for binding sci vars. Must be called with a vector of sci dynamic vars to values.
macrosci.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
- function
nextjournal.markdown.utils
Coerce to boolean
functionclojure.core
Generates one of `true` or `false`. Shrinks to `false`.
valueclojure.test.check.generators
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
- function
clojure.java.browse
Returns a fixed buffer of size n. When full, puts will block/park.
functionclojure.core.async
Return a seq of all but the last item in coll, in linear time
functionclojure.core
Coerce to byte
functionclojure.core
Generates `java.lang.Byte`s, using the full byte-range.
valueclojure.test.check.generators
Creates an array of bytes
functionclojure.core
Casts to bytes[]
functionclojure.core
Generates byte-arrays.
valueclojure.test.check.generators
Return true if x is a byte array
functionclojure.core
C
- function
selmer.parser
- function
selmer.parser
- value
selmer.parser
Internal function.
functionclojure.test.check.generators
Returns the canonical `Path` for `f` via [File#getCanonicalPath](https://docs.oracle.com/en/java/javase/11/docs/api/java...
functionbabashka.fs
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
A transducer which concatenates the contents of each input, which must be a collection, into the reduction.
functionclojure.core
Terse, cross-platform (try* expr (catch :all _)). Arities besides #{1 2} are deprecated, prefer `try*` in these c...
macrotaoensso.encore
- function
clojure.core.rrb-vector
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
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
Generates character from 0-255.
valueclojure.test.check.generators
Generates alpha characters.
valueclojure.test.check.generators
Deprecated - use char-alphanumeric instead. Generates alphanumeric characters.
valueclojure.test.check.generators
Generates alphanumeric characters.
valueclojure.test.check.generators
Creates an array of chars
functionclojure.core
Generates only ascii characters.
valueclojure.test.check.generators
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
Takes a process, waits until is finished and throws if exit code is non-zero.
functionbabashka.process
Returns children for `node` converted to Clojure forms. Optional `opts` can specify: - `:auto-resolve` specify a fu...
functionrewrite-clj.node
Return s-expression (the Clojure forms) of children of current node in `zloc`. See docs for [sexpr nuances](/doc/01-u...
functionrewrite-clj.zip
Returns the children of the root of the Rose tree.
functionclojure.test.check.rose-tree
Returns a seq of the children of node at loc, which must be a branch
functionclojure.zip
Returns child nodes for `node`.
functionrewrite-clj.node
Creates a generator that generates integers uniformly in the range `lower` to `upper`, inclusive. (gen/sa...
functionclojure.test.check.generators
- 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
- function
selmer.parser
Construct a custom client. To get the same behavior as the (implicit) default client, pass `default-client-opts`. Opt...
functionbabashka.http-client
Starts clojure similar to CLI. Use `rlwrap bb` for `clj`-like invocation. Invokes java with babashka.process/process f...
functionbabashka.deps
- function
babashka.tasks
Returns clojure version as a printable string.
functionclojure.core
Closes the channel. Idempotent: returns true if the channel was actually closed, or false if it was already closed.
functionorg.httpkit.server
Initiates an orderly closure of this WebSocket's output by sending a Close message with the given status code and the ...
functionbabashka.http-client.websocket
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
Coerce string `s` using `f`. Does not coerce when `s` is not a string. `f` may be a keyword (`:boolean`, `:int`, `:dou...
functionbabashka.cli
Coerce `form` to node.
functionrewrite-clj.node
- value
clojure.java.io
Returns true if x implements IPersistentCollection
functionclojure.core
Return a new rose-tree whose depth-one children are the children from depth one _and_ two of the input tree.
functionclojure.test.check.rose-tree
- function
taoensso.timbre
Create comma node of string `s`, where `s` is one or more comma characters.
functionrewrite-clj.node
Interleave `nodes` with `", "` nodes.
functionrewrite-clj.node
Returns true if `node` represents one or more commas.
functionrewrite-clj.node
Ignores body, yields nil
macroclojure.core
Create node representing a comment with text `s`. You may optionally specify a `prefix` of `";"` or `"#!"`, defaults...
functionrewrite-clj.node
Returns true if `node` is a comment.
functionrewrite-clj.node
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
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
Returns a seq of all components of `f` as paths. i.e.: split on the [[file-separator]].
functionbabashka.fs
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
Request: construct uri from map
valuebabashka.http-client.interceptors
- function
clojure.test.check.generators
Returns true if key is present in the given collection, otherwise returns false. Note that for numerically indexed co...
functionclojure.core
Singleton value to be used as return value in `:read-cond` fn to indicate to continue parsing the next form
valueedamame.core
Copies `src` file to `dest` dir or file using [Files/copy](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/...
functionbabashka.fs
Copies input to output. Returns nil or throws IOException. Input may be an InputStream, Reader, File, byte[], char[],...
functionclojure.java.io
Issues an async HTTP COPY request. See `request` for details.
functionorg.httpkit.client
Returns map of names to SCI vars as a result of copying public Clojure vars from ns-sym (a symbol). Attaches sci-ns (r...
macrosci.core
Returns a double with the magnitude of the first argument and the sign of the second. See: https://docs.oracle.com/j...
functionclojure.math
Copies entire file tree from `src` to `dest`. Creates `dest` if needed using [[create-dirs]], passing it the `:posix-f...
functionbabashka.fs
Copies contents from var `sym` to a new sci var. The value `ns` is an object created with `sci.core/create-ns`. Opt...
macrosci.core
Copies Clojure var to SCI var. Runtime analog of compile time `copy-var`.
functionsci.core
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
Returns true if coll implements count in constant time
functionclojure.core
Creates dir using [Files/createDirectory](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/Fil...
functionbabashka.fs
Creates directories for `path` using [Files/createDirectories](https://docs.oracle.com/en/java/javase/11/docs/api/java.b...
functionbabashka.fs
Creates empty file at `path` using [Files/createFile](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/...
functionbabashka.fs
Create a new `link` (directory entry) for an `existing` file via [Files/createLink](https://docs.oracle.com/en/java/java...
functionbabashka.fs
Create a new namespace named by the symbol if one doesn't already exist, returns it or the already-existing namespace ...
functionclojure.core
Creates namespace object. Can be used in var metadata.
functionsci.core
Returns an instance of CustomPrettyPrinter based on the configuration provided as argument
functioncheshire.core
Create a symbolic `link` to `target` via [Files/createSymbolicLink](https://docs.oracle.com/en/java/javase/11/docs/api/j...
functionbabashka.fs
Creates a directory using [Files/createTempDirectory](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/...
functionbabashka.fs
Creates an empty file using [Files/createTempFile](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio...
functionbabashka.fs
Returns creation time of `f` as [FileTime](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/at...
functionbabashka.fs
- value
babashka.tasks
- function
babashka.tasks
Returns current working directory as `Path`
functionbabashka.fs
Returns a lazy (infinite!) sequence of repetitions of the items in coll.
functionclojure.core
D
- multimethod
clojure.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 print-style args. See logp for details.
macroclojure.tools.logging.readable
- macro
taoensso.timbre
Debug level logging using format. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.
macroclojure.tools.logging
Debug level logging using format. See logf for details.
macroclojure.tools.logging.readable
- macro
taoensso.timbre
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 the Clojure object corresponding to the given JSON-encoded string. An optional key-fn argument can be either t...
functioncheshire.core
Response: based on the value of `:as` in request, decodes as `:string`, `:stream` or `:bytes`. Defaults to `:string`.
valuebabashka.http-client.interceptors
Response: decompresses body based on "content-encoding" header. Valid values: `gzip` and `deflate`.
valuebabashka.http-client.interceptors
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 or locates a global var.
special-formclojure.core
- value
org.httpkit.client
- value
org.httpkit.sni-client
Options used to create the (implicit) default client.
valuebabashka.http-client
Default map of data reader functions provided by Clojure. May be overridden by binding *data-readers*.
valueclojure.core
- value
cheshire.factory
Default map of node type -> hiccup renderers, to be used with `->hiccup`
valuenextjournal.markdown
Default interceptor chain. Interceptors are called in order for request and in reverse order for response.
valuebabashka.http-client.interceptors
- value
cheshire.core
Returns a map of default WriteHandlers for Clojure types. Java types are handled by the default WriteHandlers prov...
valuecognitect.transit
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
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
- function
babashka.curl
Deletes `f` using [Files/delete](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/Files.html#d...
functionbabashka.fs
Convenience wrapper for `request` with method `:delete`
functionbabashka.http-client
Issues an async HTTP DELETE request. See `request` for details.
functionorg.httpkit.client
Delete file f. If silently is nil or false, raise an exception on failure, else return the value of silently.
functionclojure.java.io
Deletes `f` if it exists via [Files/deleteIfExists](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/ni...
functionbabashka.fs
Requests delete of file `f` on exit via [File#deleteOnExit](https://docs.oracle.com/en/java/javase/11/docs/api/java.base...
functionbabashka.fs
Deletes a file tree `root` using [[walk-file-tree]]. Similar to `rm -rf`. Does not follow symlinks. `force` ensures r...
functionbabashka.fs
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
- function
clojure.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
Create node representing the dereferencing of a form where `children` is either a sequence of nodes or a single node....
functionrewrite-clj.node
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
Destroys the process and returns the input arg. Takes process or map with :proc (`java.lang.ProcessBuilder`).
functionbabashka.process
Same as `destroy` but also destroys all descendants. JDK9+ only. Falls back to `destroy` on older JVM versions.
functionbabashka.process
- 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
Return a set that is the first set without elements of the remaining sets
functionclojure.set
- macro
clojure.repl
- function
clojure.repl
Returns true if `f` is a directory, using [Files/isDirectory](https://docs.oracle.com/en/java/javase/11/docs/api/java.ba...
functionbabashka.fs
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
Subcommand dispatcher. Dispatches on longest matching command entry in `table` by matching subcommands to the `:cmd...
functionbabashka.cli
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
Add file and line information to a test result and call report. If you are writing a custom assert-expr method, call ...
functionclojure.test
- macro
clojure.template
When lazy sequences are produced via functions that have side effects, any effects other than those needed to produce ...
functionclojure.core
- macro
clojure.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
Generates 64-bit floating point numbers from the entire range, including +/- infinity and NaN. Use double* for more co...
valueclojure.test.check.generators
Generates a 64-bit floating point number. Options: :infinite? - whether +/- infinity can be generated (default true...
functionclojure.test.check.generators
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
Return zipper with location moved down to the first non-whitespace/non-comment child node of the current node in `zloc`,...
functionrewrite-clj.zip
Raw version of [[down]]. Returns zipper with the location at the leftmost child of current node in `zloc`, or nil if ...
functionrewrite-clj.zip
Returns a laziness-preserving sequence of all but the first n items in coll. Returns a stateful transducer when no col...
functionclojure.core
Return a lazy sequence of all but the last n (default 1) items in coll
functionclojure.core
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
Replaces the node at this loc with the value of (f node args)
functionclojure.zip
Return `zloc` with the current node replaced with the result of: `(apply f (s-expr current-node) args)` The resul...
functionrewrite-clj.zip
Raw version of [[edit]]. Returns zipper with value of `(apply f current-node args)` replacing current node in `zloc`. ...
functionrewrite-clj.zip
Like `->`, threads `zloc` through forms. The resulting zipper will be located at the same path (i.e. the same numb...
macrorewrite-clj.zip
Like `->`, threads `zloc` through forms. The resulting zipper will be located at the same path (i.e. the same numb...
macrorewrite-clj.zip.subedit
Like `->>`, threads `zloc` through forms. The resulting zipper will be located at the same path (i.e. the same num...
macrorewrite-clj.zip
Like `->>`, threads `zloc` through forms. The resulting zipper will be located at the same path (i.e. the same num...
macrorewrite-clj.zip.subedit
Return zipper applying function `f` to `zloc`. The resulting zipper will be located at the same path (i.e. the same n...
functionrewrite-clj.zip
Return zipper applying function `f` to `zloc`. The resulting zipper will be located at the same path (i.e. the same n...
functionrewrite-clj.zip.subedit
DEPRECATED. Renamed to [[of-node]].
functionrewrite-clj.zip
DEPRECATED. Renamed to [[of-node*]].
functionrewrite-clj.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
Create an xml element from a content collection and optional metadata
functionclojure.data.xml
Get xmlns environment from element
functionclojure.data.xml
- function
clojure.data.xml
Creates a generator that randomly chooses an element from `coll`. (gen/sample (gen/elements [:foo :bar :baz])) ...
functionclojure.test.check.generators
Prints the given Element tree as XML text to stream. Options: :encoding <str> Character encoding to use ...
functionclojure.data.xml
Emits the Element to String and returns it. Options: :encoding <str> Character encoding to use :doct...
functionclojure.data.xml
- value
nextjournal.markdown.utils
Returns an empty collection of the same category as coll, or nil
functionclojure.core
Empty document to be used with `parse*`
valuenextjournal.markdown
The empty doc
valuenextjournal.markdown.utils
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
Calling this will enable - Altering core vars using `alter-var-root` - In CLJS: `set!` is able to set the value of a...
functionsci.core
Check if a particular level is enabled for the given Logger.
functionclojure.tools.logging.impl
Returns a JSON-encoding String for the given Clojure object. Takes an optional date format string that Date objects wi...
functioncheshire.core
Encode a string to the json generator.
functioncheshire.generate
Returns a BufferedWriter for the given Clojure object with the JSON-encoded data written to the writer. Takes an optio...
functioncheshire.core
Returns true if loc represents the end of a depth-first walk
functionclojure.zip
Return true if `zloc` is at end of depth-first traversal.
functionrewrite-clj.zip
Returns `true` if path `this` ends with path `other` via [Path#endsWith](https://docs.oracle.com/en/java/javase/11/docs/...
functionbabashka.fs
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
Turns the argument into a list if it isn't a list already.
functionselmer.parser
If x is already reduced?, returns it, else returns (reduced x)
functionclojure.core
- function
taoensso.encore
Returns a seq on a java.util.Enumeration
functionclojure.core
Puts &env into a map.
macroselmer.parser
Implementation detail. Subject to change.
functionclojure.data
SCI var that represents SCI's `clojure.core/*err*`
valuesci.core
Error level logging using print-style args. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.
macroclojure.tools.logging
Error level logging using print-style args. See logp for details.
macroclojure.tools.logging.readable
- macro
taoensso.timbre
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
Error level logging using format. See logf for details.
macroclojure.tools.logging.readable
- macro
taoensso.timbre
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
Evaluates form (as produced by `parse-string` or `parse-next`) in the context of `ctx` (as produced with `init`). To a...
functionsci.core
Create node representing an inline evaluation where `children` is either a sequence of nodes or a single node. ``...
functionrewrite-clj.node
Evaluates string `s` as one or multiple Clojure expressions using the Small Clojure Interpreter. The map `opts` may c...
functionsci.core
Evaluates string `s` in the context of `ctx` (as produced with `init`).
functionsci.core
Evaluates string `s` in the context of `ctx` (as produced with `init`). Options: *`:ns` - the namespace to start ...
functionsci.core
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
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
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
Replaces the current process image with the process image specified by the given path invoked with the given args. Wor...
functionbabashka.process
- function
babashka.tasks
Execute a command and on successful exit, return the captured output, else throw RuntimeException. Args are the same a...
functionclojure.java.process
Returns executable paths (using the `PATH` environment variable). Same as `(split-paths (System/getenv "PATH"))`.
functionbabashka.fs
Returns true if `f` has is executable via [Files/isExecutable](https://docs.oracle.com/en/java/javase/11/docs/api/java.b...
functionbabashka.fs
Executes the format with the arguments.
functionclojure.pprint
Returns true if `f` exists via [Files/exists](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file...
functionbabashka.fs
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
If `f` begins with a tilde (`~`), expand the tilde to the value of the `user.home` system property. If the `f` begins ...
functionbabashka.fs
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
selmer.parser
- value
selmer.tags
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 true if atype extends protocol
functionclojure.core
Returns the extension of `path` via [[split-ext]].
functionbabashka.fs
F
Returns true if x is the value false, false otherwise.
functionclojure.core
Fatal level logging using print-style args. See logp for details.
macroclojure.tools.logging.readable
Fatal level logging using format. See logf for details.
macroclojure.tools.logging.readable
Same as (first (first x))
functionclojure.core
Coerces arg(s) into a `File`, combining multiple paths into one. Multiple-arg versions treat the first argument as par...
functionbabashka.fs
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
SCI var that represents SCI's `clojure.core/*file*`
valuesci.core
Returns the name of the file or directory via [File#getName](https://docs.oracle.com/en/java/javase/11/docs/api/java.bas...
functionbabashka.fs
The system-dependent default name-separator character (as string)
valuebabashka.fs
A tree seq on java.io.Files
functionclojure.core
Converts `ft` [FileTime](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/attribute/FileTime.h...
functionbabashka.fs
Converts `ft` [FileTime](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/attribute/FileTime.h...
functionbabashka.fs
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
Returns a new Rose tree whose values pass `pred`. Values who do not pass `pred` have their children cut out as well.
functionclojure.test.check.rose-tree
Compile-time parser of var tag filters.
functionselmer.parser
Deprecated - this function will be removed. Use transducer instead
functionclojure.core.async
Deprecated - this function will be removed. Use transducer instead
functionclojure.core.async
- value
selmer.filters
Returns a vector of the items in coll for which (pred item) returns logical true. pred must be free of side-effects.
functionclojure.core
Returns the map entry for key, or nil if key not present.
functionclojure.core
Return `zloc` located to the first node satisfying predicate `p?` else nil. Search starts at the current node and con...
functionrewrite-clj.zip
Return `zloc` located to the first node satisfying predicate `p?` else `nil`. Search is depth-first from the current ...
functionrewrite-clj.zip
- function
clojure.repl
Return `zloc` located at the last node spanning position `pos` that satisfies the predicate `p?`, else `nil`. - `zloc...
functionrewrite-clj.zip
Return `zloc` located to the next node satisfying predicate `p?` else `nil`. Search starts one movement `f` from the ...
functionrewrite-clj.zip
Return `zloc` located to next node satisfying predicate `p?` else `nil`. Search starts depth-first after the current ...
functionrewrite-clj.zip
Return `zloc` located to the next node with tag `t` else `nil`. Search starts one movement `f` after the current node ...
functionrewrite-clj.zip
Return `zloc` located to the next token node satisfying predicate `p?` else `nil`. Search starts one movement `f` afte...
functionrewrite-clj.zip
Return `zloc` located to the next token node that `sexpr`esses to `v` else `nil`. Search starts one movement `f` from...
functionrewrite-clj.zip
Returns the namespace named by the symbol or nil if it doesn't exist.
functionclojure.core
Returns SCI ns object as created with `sci/create-ns` from `ctx` found by `ns-sym`.
functionsci.core
Return `zloc` located to the first node with tag `t` else `nil`. Search starts at the current node and continues via ...
functionrewrite-clj.zip
Return `zloc` located at the last node spanning position `pos` with tag `t`, else `nil`. - `zloc` location is (inclus...
functionrewrite-clj.zip
Return `zloc` located to the the first token node satisfying predicate `p?`. Search starts at the current node and con...
functionrewrite-clj.zip
Return `zloc` located to the first token node that `sexpr`esses to `v` else `nil`. Search starts from the current nod...
functionrewrite-clj.zip
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
Returns the first item in the collection. Calls seq on its argument. If coll is nil, returns nil.
functionclojure.core
Takes any nested combination of sequential things (lists, vectors, etc.) and returns their contents as a single, flat ...
functionclojure.core
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
Returns a generator like `gen` but with values transformed by `f`. E.g.: (gen/sample (gen/fmap str gen/nat)) ...
functionclojure.test.check.generators
Applies functions `f` to all values in the tree.
functionclojure.test.check.rose-tree
params => positional-params*, or positional-params* & rest-param positional-param => binding-form rest-param => bind...
macroclojure.core
Create node representing an anonymous function with `children`. ```Clojure (require '[rewrite-clj.node :as n]) ...
functionrewrite-clj.node
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
List comprehension. Takes a vector of one or more binding-form/collection-expr pairs, each followed by zero or more ...
macroclojure.core
Returns a property, which is the combination of some generators and an assertion that should be true for all generated...
macroclojure.test.check.properties
A function version of `for-all`. Takes a sequence of N generators and a function of N args, and returns a property tha...
functionclojure.test.check.properties
If x is a Delay, returns the (possibly cached) value of its expression, else returns x
functionclojure.core
Forks a context (as produced with `init`) into a new context. Any new vars created in the new context won't be visible...
functionsci.core
Request: encodes `:form-params` map and adds `:body`.
valuebabashka.http-client.interceptors
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
- function
babashka.cli
Returns a list of formatted stack trace elements as strings from stacktrace.
functionsci.core
- function
babashka.cli
Makes a function which can directly run format-in. The function is fn [& args] ... and returns nil. This version of the ...
macroclojure.pprint
Create top-level node wrapping multiple `children`. The forms node is equivalent to an implicit `do` at the top-level...
functionrewrite-clj.node
- function
nextjournal.markdown.utils
Returns a map from distinct items in coll to the number of times they appear.
functionclojure.core
Creates a generator that chooses a generator from `pairs` based on the provided likelihoods. The likelihood of a given...
functionclojure.test.check.generators
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
Like clojure.core/future but also conveys sci bindings to the thread.
macrosci.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
Internal function.
functionclojure.test.check.generators
Internal function.
functionclojure.test.check.generators
Internal function.
functionclojure.test.check.generators
Returns a single sample value from the generator. Note that this function is a dev helper and is not meant to be used...
functionclojure.test.check.generators
Returns a BufferedWriter for the given Clojure object with the JSON-encoded data written to the writer. Takes an optio...
functioncheshire.core
Dump Clojure `data` structure as YAML to `writer`. See [[generate-string]] for `& opts`
functionclj-yaml.core
Returns a JSON-encoding String for the given Clojure object. Takes an optional date format string that Date objects wi...
functioncheshire.core
Return a string of YAML from Clojure `data` structure. Relevant `& opts` (`opts` are keyword args, see [docs](/doc/01...
functionclj-yaml.core
Test if `x` is a generator. Generators should be treated as opaque values.
functionclojure.test.check.generators
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
- function
babashka.curl
Convenience wrapper for `request` with method `:get`
functionbabashka.http-client
Returns the value mapped to key, not-found or nil if key not present in associative collection, set, string, array, or...
functionclojure.core
Issues an async HTTP GET request. See `request` for details.
functionorg.httpkit.client
Returns `zloc` located to map key node's sexpr value matching `k` else `nil`. `k` should be: - a key for maps - a...
functionrewrite-clj.zip
Return `attribute` for `path` via [Files/getAttribute](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java...
functionbabashka.fs
Returns the current classpath as set by --classpath, BABASHKA_CLASSPATH and add-classpath.
functionbabashka.classpath
Returns the column number of the next character to be read from the stream
functionclojure.tools.reader.reader-types
- function
edamame.core
- function
sci.core
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
- function
selmer.filters
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
Returns the line number of the next character to be read from the stream
functionclojure.tools.reader.reader-types
- function
edamame.core
- function
sci.core
Returns an implementation-specific Logger by namespace.
functionclojure.tools.logging.impl
Given a multimethod and a dispatch value, returns the dispatch fn that would apply to that value, or nil if none apply...
functionclojure.core
Returns the java.io.Writer passed in wrapped in a pretty writer proxy, unless it's already a pretty writer. Generally, ...
functionclojure.pprint
- function
clojure.core
Get a map with the Var/value pairs which is currently in effect for the current thread.
functionclojure.core
Gets the validator-fn for a var/ref/agent/atom.
functionclojure.core
Returns a vector of paths matching glob `pattern` (on path and filename) relative to `root` dir. Patterns containing `...
functionbabashka.fs
- value
clojure.core
- macro
clojure.core.async
- macro
clojure.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
Extracts `gz-file` to `dest` dir. If `dest` dir not specified (or `nil`) defaults to `gz-file` dir. File is extr...
functionbabashka.fs
Gzips `source-file` to `dir/out-file`. Does not store the `source-file` name in the `.gz` file. The `source-file` i...
functionbabashka.fs
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
- function
clojure.core
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
Like clojure.core/hash-map, except the values are generators. Returns a generator that makes maps with the supplied k...
functionclojure.test.check.generators
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
- value
nextjournal.markdown.utils
- function
babashka.curl
Convenience wrapper for `request` with method `:head`
functionbabashka.http-client
Issues an async HTTP HEAD request. See `request` for details.
functionorg.httpkit.client
Returns true if `f` is hidden via [Files/isHidden](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio...
functionbabashka.fs
With no arguments, returns the current value of the `user.home` system property as a `Path`. If a `user` is passed, re...
functionbabashka.fs
Render Clojure data structures to a string of HTML. Strings are **not** automatically escaped, but must be manually es...
macrohiccup.core
Render Clojure data structures to a compiled representation of HTML. To turn the representation into a string, use clo...
macrohiccup2.core
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
SCI var that represents SCI's `clojure.core/*in*`
valuesci.core
Sets *ns* to the namespace named by the symbol, creating it if needed.
functionclojure.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
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
Creates an IndexingPushbackReader from a given string or PushbackReader
functionclojure.tools.reader.reader-types
Returns true if the reader satisfies IndexingReader
functionclojure.tools.reader.reader-types
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 print-style args. See logp for details.
macroclojure.tools.logging.readable
- macro
taoensso.timbre
Info level logging using format. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.
macroclojure.tools.logging
Info level logging using format. See logf for details.
macroclojure.tools.logging.readable
- macro
taoensso.timbre
Creates an initial sci context from given options `opts`. The context can be used with `eval-string*`. See `eval-strin...
functionsci.core
Returns true if `node` can have children.
functionrewrite-clj.node
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
Return `zloc` with `item` inserted as the first child of the current node in `zloc`, without moving location. If `item...
functionrewrite-clj.zip
Raw version of [[insert-child]]. Returns zipper with node `item` inserted as the leftmost child of the current node in ...
functionrewrite-clj.zip
Inserts the item as the left sibling of the node at this loc, without moving
functionclojure.zip
Return zipper with `item` inserted to the left of the current node in `zloc`, without moving location. If `item` is no...
functionrewrite-clj.zip
Raw version of [[insert-left]]. Returns zipper with node `item` inserted as the left sibling of current node in `zloc`,...
functionrewrite-clj.zip
Return zipper with `n` newlines node inserted to the left of the current node in `zloc`, without moving location. `n`...
functionrewrite-clj.zip
Return zipper with `n` newlines node inserted to the right of the current node in `zloc`, without moving location. `n...
functionrewrite-clj.zip
Inserts the item as the right sibling of the node at this loc, without moving
functionclojure.zip
Return `zloc` with `item` inserted to the right of the current node in `zloc`, without moving location. If `item` is n...
functionrewrite-clj.zip
Raw version of [[insert-right]]. Returns zipper with node `item` inserted as the right sibling of the current node in `...
functionrewrite-clj.zip
- function
nextjournal.markdown.utils
Return zipper with `n` space whitespace node inserted to the left of the current node in `zloc`, without moving location...
functionrewrite-clj.zip
Return zipper with `n` space whitespace node inserted to the right of the current node in `zloc`, without moving locatio...
functionrewrite-clj.zip
Return the number of milliseconds since January 1, 1970, 00:00:00 GMT
functionclojure.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
Converts `instant` [Instant](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Instant.html) to a...
functionbabashka.fs
Coerce to int
functionclojure.core
Deprecated - use gen/small-integer instead. Generates a positive or negative integer bounded by the generator's `si...
valueclojure.test.check.generators
Creates an array of ints
functionclojure.core
Return true if x is a fixed precision integer
functionclojure.core
Create node representing an integer `value` in `base`. `base` defaults to 10. ```Clojure (require '[rewrite-cl...
functionrewrite-clj.node
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
Finds or creates a sci var named by the symbol name in the namespace ns (which can be a symbol or a sci namespace), se...
functionsci.core
- value
nextjournal.markdown.utils
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
Helper function to be used with custom hiccup renderer. Takes a hiccup vector, a context and a node, embeds node's `:...
functionnextjournal.markdown
Casts to int[]
functionclojure.core
- function
babashka.pods
- macro
clojure.core.async
Returns true if obj can carry metadata.
functionedamame.core
Generic assertion macro. 'form' is any predicate test. 'msg' is an optional message to attach to the assertion. Ex...
macroclojure.test
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
Returns a seq on a java.util.Iterator. Note that most collections providing iterators implement Iterable and thus supp...
functionclojure.core
J
- function
clojure.java.javadoc
Searches for a URL for the given class name. Tries *local-javadocs* first, then *remote-javadocs*. Returns a string.
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
Turn a tree of trees into a single tree. Does this by concatenating children of the inner and outer trees.
functionclojure.test.check.rose-tree
Returns `zloc` with sequence to the left joined to sequence to the right. Also works for strings. If sequence types ...
functionrewrite-clj.paredit
Composes a collection of fixtures, in order. Always returns a valid fixture function, even if the collection is empty...
functionclojure.test
- value
cheshire.factory
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
Generates keywords without namespaces.
valueclojure.test.check.generators
Create a node representing a keyword `k`. Optionally include `auto-resolved?`, which defaults to `false`. ```Clo...
functionrewrite-clj.node
Returns true if `n` is a node representing a keyword.
functionrewrite-clj.node
Generates keywords with namespaces.
valueclojure.test.check.generators
Return true if x is a Keyword
functionclojure.core
Recursively transforms all map keys from strings to keywords.
functionclojure.walk
Returns `zloc` with the current node and all sibling nodes to the right removed. Locates `zloc` to node left of delete...
functionrewrite-clj.paredit
Return `zloc` with found item starting at `pos` removed to its natural end. If `pos` is: - inside a string, remove...
functionrewrite-clj.paredit
Return `zloc` with node/word found at `pos` removed. If `pos` is: - inside a string or comment, removes word at `po...
functionrewrite-clj.paredit
- function
selmer.parser
- function
selmer.parser
L
Generates a platform-native integer from the full available range (in clj, 64-bit Longs, and in cljs, numbers between ...
valueclojure.test.check.generators
Like large-integer, but accepts options: :min the minimum integer (inclusive) :max the maximum integer (inclu...
functionclojure.test.check.generators
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
Returns last modified time of `f` as a [FileTime](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/...
functionbabashka.fs
Expands to code which yields a lazy sequence of the concatenation of the supplied colls. Each coll expr is not evalua...
macroclojure.core
Internal function. Given a random number generator, returns an infinite lazy sequence of random number generators.
functionclojure.test.check.generators
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 number of characters before children for `node`.
functionrewrite-clj.node
Returns the loc of the left sibling of the node at this loc, or nil
functionclojure.zip
Return zipper with location moved left to next non-whitespace/non-comment sibling of current node in `zloc`.
functionrewrite-clj.zip
Raw version of [[left]]. Returns zipper with location at the left sibling of the current node in `zloc`, or nil. NOTE:...
functionrewrite-clj.zip
Returns the loc of the leftmost sibling of the node at this loc, or self
functionclojure.zip
Return zipper with location moved to the leftmost non-whitespace/non-comment sibling of current node in `zloc`.
functionrewrite-clj.zip
Raw version of [[leftmost]]. Returns zipper with location at the leftmost sibling of the current node in `zloc`, or sel...
functionrewrite-clj.zip
Return true if at leftmost non-whitespace/non-comment sibling node in `zloc`.
functionrewrite-clj.zip
Returns a seq of the left siblings of this loc
functionclojure.zip
Return number of characters for the string version of `node`.
functionrewrite-clj.node
Return length of printable [[string]] of current node in `zloc`.
functionrewrite-clj.zip
binding => binding-form init-expr binding-form => name, or destructuring-form destructuring-form => map-destructure-...
macroclojure.core
Macro for building generators using values from other generators. Uses a binding vector with the same syntax as clojur...
macroclojure.test.check.generators
fnspec ==> (fname [params*] exprs) or (fname ([params*] exprs)+) Takes a vector of function specs and a body, and gen...
macroclojure.core
Interleave `nodes` with newline nodes.
functionrewrite-clj.node
Returns the lines of text from rdr as a lazy sequence of strings. rdr must implement java.io.BufferedReader.
functionclojure.core
Returns true if `node` represents one or more linebreaks.
functionrewrite-clj.node
Returns true when the current node in `zloc` is a linebreak.
functionrewrite-clj.zip
Creates a new list containing the items.
functionclojure.core
Like `vector`, but generates lists.
functionclojure.test.check.generators
Creates a new seq containing the items prepended to the rest, the last of which will be treated as a sequence.
functionclojure.core
Returns all paths in `dir` as vector. For descending into subdirectories use `glob.` - `glob-or-accept` - a glob st...
functionbabashka.fs
Similar to list-dir but accepts multiple roots in `dirs` and returns the concatenated results. - `glob-or-accept` - a ...
functionbabashka.fs
Generates a list of elements from the given generator, with the guarantee that the elements will be distinct. If th...
functionclojure.test.check.generators
Generates a list of elements from the given generator, with the guarantee that (map key-fn the-list) will be distinct....
functionclojure.test.check.generators
Create a node representing a list with `children`. ```Clojure (require '[rewrite-clj.node :as n]) (-> (n/list...
functionrewrite-clj.node
Returns true if x implements IPersistentList
functionclojure.core
Returns true if current node in `zloc` is a list.
functionrewrite-clj.zip
Loads Clojure code from resources in classpath. A path is interpreted as classpath-relative if it begins with a slash ...
functionclojure.core
- function
clojure.core
- function
babashka.pods
Sequentially read and evaluate the set of forms contained in the stream/file
functionclojure.core
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
Issues an async HTTP LOCK request. See `request` for details.
functionorg.httpkit.client
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
Core low-level log macro. Useful for tooling/library authors, etc. * `level` - must eval to a valid logging l...
macrotaoensso.timbre
Attempts to log a message, either directly or via an agent; does not check if the level is enabled. For performance...
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 a format string and args, where all format args will be printed readably, as if wrapped in pr-str...
macroclojure.tools.logging.readable
Logs a message using print style args. Can optionally take a throwable as its second arg. See level-specific macros, e...
macroclojure.tools.logging
Logs a message using print style args, where message args that are not literal strings will be printed readably, as if...
macroclojure.tools.logging.readable
Coerce to long
functionclojure.core
Creates an array of longs
functionclojure.core
Casts to long[]
functionclojure.core
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
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
- function
clojure.main
Creates and returns an array of instances of the specified class of the specified dimension(s). Note that a class obj...
functionclojure.core
Returns an HttpClient with specified options: :max-connections ; Max connection count, default is unlimited (-1) ...
functionorg.httpkit.client
Creates a hierarchy object for use with derive, isa? etc.
functionclojure.core
- function
clojure.test.check.random
- function
cheshire.factory
Returns a new branch node, given an existing node and new children. The loc is only used to supply the constructor.
functionclojure.zip
Given the same arg(s) as for file, creates all parent directories of the file they represent.
functionclojure.java.io
Given an optional Long seed, returns an object that satisfies the IRandom protocol.
functionclojure.test.check.random
- function
clojure.test.check.rose-tree
Internal function.
functionclojure.test.check.generators
Returns an SSLEngine using default or given SSLContext.
functionorg.httpkit.client
Given a single compiled option spec, turn it into a formatted string, optionally with its default values if requested.
functionclojure.tools.cli
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
Creates a generator that generates maps, with keys chosen from `key-gen` and values chosen from `val-gen`. If the k...
functionclojure.test.check.generators
Returns `zloc` with function `f` applied to all nodes of the current node. Current node must be a sequence node. Equiv...
functionrewrite-clj.zip
Factory function for class clojure.test.check.properties.ErrorResult, taking a map of keywords to field values.
functionclojure.test.check.properties
Factory function for class clojure.test.check.generators.Generator, taking a map of keywords to field values.
functionclojure.test.check.generators
Applies `map-qualifier` context to `node`
functionrewrite-clj.node
Removes map-qualifier context for `node`
functionrewrite-clj.node
Return true if x is a map entry
functionclojure.core
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
Returns `zloc` with function `f` applied to all key nodes of the current node. Current node must be map node. `zlo...
functionrewrite-clj.zip
Create a node representing a map with `children`. ```Clojure (require '[rewrite-clj.node :as n]) (-> (n/map-no...
functionrewrite-clj.node
Create a map qualifier node. The map qualifier node is a child node of [[namespaced-map-node]]. ```Clojure (re...
functionrewrite-clj.node
Returns `zloc` with function `f` applied to each value node of the current node. Current node must be map node. `z...
functionrewrite-clj.zip
Deprecated - this function will be removed. Use transducer instead
functionclojure.core.async
Deprecated - this function will be removed. Use transducer instead
functionclojure.core.async
Return true if x implements IPersistentMap
functionclojure.core
Returns true if current node in `zloc` is a map.
functionrewrite-clj.zip
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
Deprecated - this function will be removed. Use transducer instead
functionclojure.core.async
Deprecated - this function will be removed. Use transducer instead
functionclojure.core.async
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
⚙️ low level, please consider higher level [[clj-yaml.core]] API first Returns internal structure wrapping `marked` w...
functionclj-yaml.core
Returns a vector of paths matching `pattern` (on path and filename) relative to `root` dir. Pattern interpretation is ...
functionbabashka.fs
Pattern match a row of occurrences. Take a vector of occurrences, vars. Clause question-answer syntax is like `cond`. ...
macroclojure.core.match
Returns the greatest of the nums.
functionclojure.core
reject if response's body exceeds size in bytes
functionorg.httpkit.client
Returns the x for which (k x), a number, is greatest. If there are multiple such xs, the last one is returned.
functionclojure.core
Private, don't use. Returns true iff level and ns are runtime unfiltered.
functiontaoensso.timbre
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
Returns a memoized version of a referentially transparent function. The memoized version of the function keeps a cache...
functionclojure.core
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
- function
taoensso.timbre
- function
babashka.deps
Merge multiple deps edn maps from left to right into a single deps edn map.
functionbabashka.deps
Merges babashka CLI options.
functionbabashka.cli
Updates a context with opts merged in and returns it.
functionsci.core
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
Returns the metadata of obj, returns nil if there is no metadata.
functionclojure.core
Create a node representing a form with metadata. When creating manually, you can specify `metadata` and `data` and s...
functionrewrite-clj.node
Given a multimethod, returns a map of dispatch values -> dispatch fns
functionclojure.core
Converts epoch millis (long) to a [FileTime](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/...
functionbabashka.fs
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
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
Modulus of num and div. Truncates toward negative infinity.
functionclojure.core
Returns seq of regular files (non-directories, non-symlinks) from `file-set` that were modified since the `anchor` path....
functionbabashka.fs
Move or rename dir or file `source` to `target` dir or file via [Files/move](https://docs.oracle.com/en/java/javase/11/d...
functionbabashka.fs
Issues an async HTTP MOVE request. See `request` for details.
functionorg.httpkit.client
Move node at current location to the position of previous location given a depth first traversal - `(+ 1 (+ 2 |3) ...
functionrewrite-clj.paredit
Creates and returns a mult(iple) of the supplied channel. Channels containing copies of the channel can be created wit...
functionclojure.core.async
- function
clojure.core
- function
clojure.core
- function
clojure.core
Adds appropriate body and header if making a multipart request.
valuebabashka.http-client.interceptors
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
N
Returns the name String of a string, symbol or keyword.
functionclojure.core
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
Create a namespaced map node with `children`. ```Clojure (require '[rewrite-clj.node :as n]) (-> (n/namespace...
functionrewrite-clj.node
Returns true if the current node in `zloc` is a namespaced map.
functionrewrite-clj.zip
Returns true if num is NaN, else false
functionclojure.core
Generates non-negative integers bounded by the generator's `size` parameter. Shrinks to zero.
valueclojure.test.check.generators
Return true if x is a non-negative fixed precision integer
functionclojure.core
- multimethod
clojure.datafy
Deprecated - use (gen/fmap - gen/nat) instead (see also gen/large-integer). (this generator, despite its name, can ge...
valueclojure.test.check.generators
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
Same as new-var but adds :dynamic true to meta.
functionsci.core
Same as new-var but adds :macro true to meta as well as :sci/macro true to meta of the fn itself.
functionsci.core
Returns a new sci var.
functionsci.core
Writes a platform-specific newline to *out*
functionclojure.core
Create newline node of string `s`, where `s` is one or more linebreak characters.
functionrewrite-clj.node
Create node representing `n` newline characters.
functionrewrite-clj.node
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
Return zipper with location moved to the next depth-first non-whitespace/non-comment node in `zloc`. End can be detec...
functionrewrite-clj.zip
Raw version of [[next]]. Returns zipper with location at the next depth-first location in the hierarchy in `zloc`. Wh...
functionrewrite-clj.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
Creates a new generator that is just like `gen`, except does not shrink at all. This can be useful when shrinking is t...
functionclojure.test.check.generators
Returns the node at loc
functionclojure.zip
Returns the current node in `zloc`.
functionrewrite-clj.zip
Convert node into text.
functionnextjournal.markdown
Returns true if `x` is a rewrite-clj created node.
functionrewrite-clj.node
Returns normalize `Path` for `f` via [Path#normalize](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/...
functionbabashka.fs
- function
sci.core
Expands `opts` into normalized opts, e.g. `:all true` is expanded into explicit options.
functionedamame.core
Normalizes a map of regex and handler into a Tokenizer
functionnextjournal.markdown.utils
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
Modifies a generator so that it doesn't generate empty collections. Examples: ;; generate a vector of booleans...
functionclojure.test.check.generators
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
SCI var that represents SCI's `clojure.core/*ns*`
valuesci.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 name of SCI ns as symbol.
functionsci.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
Returns the nth next of coll, (seq coll) when n is 0.
functionclojure.core
Returns the nth rest of coll, coll when n is 0.
functionclojure.core
Coerce to Number
functionclojure.core
- function
babashka.cli
Returns true if x is a Number
functionclojure.core
Returns the numerator part of a Ratio.
functionclojure.core
O
Request: adds `:authorization` header based on `:oauth-token` (a string token) in request.
valuebabashka.http-client.interceptors
Creates an array of objects
functionclojure.core
Returns true if n is odd, throws an exception if n is not an integer
functionclojure.core
Create and return zipper from all forms in Clojure/ClojureScript/EDN File `f`, and move to the first non-whitespace/non-...
functionrewrite-clj.zip
Create and return zipper from all forms in Clojure/ClojureScript/EDN File `f`, and do no automatic move. See [[of-...
functionrewrite-clj.zip
Create and return zipper from a rewrite-clj `node` (likely parsed by [[rewrite-clj.parser]]), and move to the first no...
functionrewrite-clj.zip
Create and return zipper from a rewrite-clj `node` (likely parsed by [[rewrite-clj.parser]]). Optional `opts` can spe...
functionrewrite-clj.zip
Create and return zipper from all forms in Clojure/ClojureScript/EDN string `s`, and move to the first non-whitespace/no...
functionrewrite-clj.zip
Create and return zipper from all forms in Clojure/ClojureScript/END string `s`, and do no automatic move. See [[of-s...
functionrewrite-clj.zip
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
Sets handler (fn [status-code]) for notification of channel being closed by the server or client. Handler will be in...
functionorg.httpkit.server
Creates a generator that randomly chooses a value from the list of provided generators. Shrinks toward choosing an ear...
functionclojure.test.check.generators
Deprecated - use onto-chan! or onto-chan!!
functionclojure.core.async
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
Issues an async HTTP OPTIONS request. See `request` for details.
functionorg.httpkit.client
- function
babashka.cli
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
Return a map with the given keys and values, whose entries are sorted in the order that keys are added. assoc'ing a key ...
functionflatland.ordered.map
Return a set with the given items, whose items are sorted in the order that they are added. conj'ing an item that was al...
functionflatland.ordered.set
SCI var that represents SCI's `clojure.core/*out*`
valuesci.core
Attempts to coerce its argument into an open java.io.OutputStream. Default implementations always return a java.io.Bu...
functionclojure.java.io
Returns the owner of file `f` via [Files/getOwner](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio...
functionbabashka.fs
P
- function
babashka.cli
- function
babashka.cli
Returns parent of `f`. Akin to `dirname` in bash.
functionbabashka.fs
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
Turns the given `markdown-string` into an AST of nested clojure data. Accepted `opts`: - `:text-tokenizers`: cust...
functionnextjournal.markdown
- function
selmer.parser
Turns a markdown string into an AST of nested clojure data. Allows to parse multiple strings into the same document ...
functionnextjournal.markdown
- function
selmer.parser
Same as `parse-opts` but separates parsed opts into `:opts` and adds `:cmds` and `:rest-args` on the top level instead...
functionbabashka.cli
Parses arguments to `process` to map with: * `:prev`: a (previous) process whose input is piped into the current proc...
functionbabashka.process
Parse strings "true" or "false" and return a boolean, or nil if invalid
functionclojure.core
Parses sub-commands (arguments not starting with an option prefix) and returns a map with: * `:cmds` - The parsed subc...
functionbabashka.cli
Parse string with floating point components and return a Double value, or nil if parse fails. Grammar: https://docs...
functionclojure.core
Return node for first source code element in file `f`.
functionrewrite-clj.parser
- function
selmer.parser
Return forms node for all source code elements in file `f`.
functionrewrite-clj.parser
- function
selmer.parser
Parse keyword from `s`. Ignores leading `:`.
functionbabashka.cli
Parse string of decimal digits with optional leading -/+ and return a Long value, or nil if parse fails
functionclojure.core
Parses next form from reader. Accepts same opts as `parse-string`, but must be normalized with `normalize-opts` first.
functionedamame.core
Parses next form from reader
functionsci.core
Parses next form from reader. Accepts same opts as `parse-string`, but must be normalized with `normalize-opts` first....
functionedamame.core
Parses next form from reader
functionsci.core
Parses `ns-form`, an s-expression, into map with: - `:name`: the name of the namespace - `:aliases`: a map of aliase...
functionedamame.core
Parse the command line arguments `args`, a seq of strings. Instead of a leading `:` either `--` or `-` may be used as ...
functionbabashka.cli
Parse arguments sequence according to given option specifications and the GNU Program Argument Syntax Conventions: ...
functionclojure.tools.cli
- function
clojure.data.xml
Parses an XML String into a a tree of Element records. Options: :include-node? subset of #{:element :characters :com...
functionclojure.data.xml
- function
selmer.parser
Returns the Clojure object corresponding to the given reader, reader must implement BufferedReader. An optional key-fn...
functioncheshire.core
Returns Clojure data structures for stream of YAML read from `reader`. See [[parse-string]] for `& opts`
functionclj-yaml.core
Returns the Clojure object corresponding to the given reader, reader must implement BufferedReader. An optional key-fn...
functioncheshire.core
Returns the Clojure object corresponding to the given JSON-encoded string. An optional key-fn argument can be either t...
functioncheshire.core
Returns parsed `yaml-string` as Clojure data structures. Valid `& opts` (`opts` are keyword args, see [docs](/doc/01-...
functionclj-yaml.core
Parses first EDN value from string. Supported parsing options can be `true` for default behavior or a function that...
functionedamame.core
Return a node for first source code element in string `s`.
functionrewrite-clj.parser
Parses string `s` in the context of `ctx` (as produced with `init`).
functionsci.core
Like `parse-string` but parses all values from string and returns them in a vector.
functionedamame.core
Return forms node for all source code elements in string `s`.
functionrewrite-clj.parser
Returns the Clojure object corresponding to the given JSON-encoded string. An optional key-fn argument can be either t...
functioncheshire.core
- function
selmer.parser
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
Returns a lazy seq of Clojure objects corresponding to the JSON read from the given reader. The seq continues until th...
functioncheshire.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
Deprecated - this function will be removed. Use transducer instead
functionclojure.core.async
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
Deprecated - this function will be removed. Use transducer instead
functionclojure.core.async
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
- function
babashka.curl
Convenience wrapper for `request` with method `:patch`
functionbabashka.http-client
Issues an async HTTP PATCH request. See `request` for details.
functionorg.httpkit.client
Coerces arg(s) into a `Path`, combining multiple paths into one. Multiple-arg versions treat the first argument as par...
functionbabashka.fs
Returns a seq of nodes leading to this loc
functionclojure.zip
The system-dependent path-separator character (as string).
valuebabashka.fs
Returns a process builder (as record).
functionbabashka.process
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 the next char from the Reader without removing it from the reader stream
functionclojure.tools.reader.reader-types
Create a seq of vectors, where each rose in turn, has been replaced by its children.
functionclojure.test.check.rose-tree
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
Sends a Ping message with bytes from the given buffer.
functionbabashka.http-client.websocket
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
- function
babashka.signal
Returns the processes for one pipe created with -> or creates pipeline from multiple process builders. - When passi...
functionbabashka.process
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
- function
clojure.core
Like clojure.core/pmap but also conveys sci bindings to the threads.
functionsci.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
Sends a Pong message with bytes from the given buffer.
functionbabashka.http-client.websocket
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
Deprecated - use gen/nat instead (see also gen/large-integer). (this generator, despite its name, can generate 0) ...
valueclojure.test.check.generators
Return true if x is a positive fixed precision integer
functionclojure.core
Returns true if num is greater than zero, else false
functionclojure.core
Returns the ones-based `[row col]` of the start of the current node in `zloc`. Throws if `zloc` was not created with ...
functionrewrite-clj.zip
Returns the ones-based `[[start-row start-col] [end-row end-col]]` of the current node in `zloc`. `end-col` is exclusi...
functionrewrite-clj.zip
Converts a set of `PosixFilePermission` `p` to a string.
functionbabashka.fs
Returns posix file permissions for `f`. Use [[posix->str]] to view as a string. Options: * [`:nofollow-links`](/REA...
functionbabashka.fs
- function
babashka.curl
Convenience wrapper for `request` with method `:post`
functionbabashka.http-client
Issues an async HTTP POST request. See `request` for details.
functionorg.httpkit.client
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
Return zipper modified by an isolated depth-first post-order traversal. Post-order traversal visits children before ...
functionrewrite-clj.zip
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 print object to the optional output writer. If the writer is not provided, print the object to the currently bou...
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
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
Return zipper with the current node in `zloc` prefixed with string `s`. Operates on token node or a multi-line node, ...
functionrewrite-clj.zip
DEPRECATED: renamed to [[insert-newline-left]].
functionrewrite-clj.zip
DEPRECATED: renamed to [[insert-space-left]].
functionrewrite-clj.zip
Moves to the previous loc in the hierarchy, depth-first. If already at the root, returns nil.
functionclojure.zip
Return zipper with location moved to the previous depth-first non-whitespace/non-comment node in `zloc`. If already at r...
functionrewrite-clj.zip
Raw version of [[prev]]. Returns zipper with location at the previous depth-first location in the hierarchy in `zloc`. ...
functionrewrite-clj.zip
Like postwalk, but does pre-order traversal.
functionclojure.walk
Return zipper modified by an isolated depth-first pre-order traversal. Pre-order traversal visits root before childr...
functionrewrite-clj.zip
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
Prints the object(s) to the output stream that is the current value of *out*. print and println produce output for hu...
functionclojure.core
Print current node in `zloc`. NOTE: Optional `writer` is currently ignored for ClojureScript.
functionrewrite-clj.zip
- function
clojure.stacktrace
- multimethod
clojure.core
SCI var that represents SCI's `clojure.core/*print-dup*`
valuesci.core
SCI var that represents SCI's `clojure.core/*print-length*`
valuesci.core
SCI var that represents SCI's `clojure.core/*print-level*`
valuesci.core
SCI var that represents SCI's `clojure.core/*print-meta*`
valuesci.core
- multimethod
clojure.core
SCI var that represents SCI's `clojure.core/*print-namespace-maps*`
valuesci.core
SCI var that represents SCI's `clojure.core/*print-readably*`
valuesci.core
Zip up and print `zloc` from root node. NOTE: Optional `writer` is currently ignored for ClojureScript.
functionrewrite-clj.zip
- function
clojure.core
- function
clojure.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
- function
clojure.stacktrace
- function
clojure.stacktrace
Shell command to create a dummy file for xmlns. Execute from a source root.
functionclojure.data.xml
Return true if `node` cannot be converted to an s-expression element.
functionrewrite-clj.node
Prints formatted output, as per format
functionclojure.core
Same as print followed by (newline)
functionclojure.core
Returns a simple `println` appender for Clojure/Script. Use with ClojureScript requires that `cljs.core/*print-fn*` be...
functiontaoensso.timbre
Returns a simple `println` appender for Clojure/Script. Use with ClojureScript requires that `cljs.core/*print-fn*` be...
functiontaoensso.timbre.appenders.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
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-keyfn keyfn key val key val ...) Returns a new priority map with custom keyfn and optional suppli...
functionclojure.data.priority-map
Same as pr followed by (newline). Observes *flush-on-newline*
functionclojure.core
prn to a string, returning it
functionclojure.core
Creates a child process. Takes a command (vector of strings or objects that will be turned into strings) and optionall...
functionbabashka.process
Same as with `process` but called with parsed arguments (the result from `parse-args`)
functionbabashka.process
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
Issues an async HTTP PROPFIND request. See `request` for details.
functionorg.httpkit.client
Issues an async HTTP PROPPATCH request. See `request` for details.
functionorg.httpkit.client
- function
clojure.core
class-and-interfaces - a vector of class names args - a (possibly empty) vector of arguments to the superclass cons...
macroclojure.core
- function
clojure.core
- function
clojure.core
Takes a proxy instance and returns the proxy's fn map.
functionclojure.core
Use to call a superclass method in the body of a proxy method. Note, expansion captures 'this
macroclojure.core
- function
clojure.repl
Creates and returns a pub(lication) of the supplied channel, partitioned into topics by the topic-fn. topic-fn will be...
functionclojure.core.async
Puts a value `x` into a Rose tree, with no children.
functionclojure.test.check.rose-tree
WARNING: This is a low-level function. Prefer high-level macros like binding where ever possible. Takes a map of Va...
functionclojure.core
- function
babashka.curl
Convenience wrapper for `request` with method `:put`
functionbabashka.http-client
Issues an async HTTP PUT request. See `request` for details.
functionorg.httpkit.client
Asynchronously puts a val into port, calling fn1 (if supplied) when complete, passing false iff port is already close...
functionclojure.core.async
Q
- function
clojure.data.xml
Get the name for this qname
functionclojure.data.xml
Get the namespace uri for this qname
functionclojure.data.xml
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
Request: encodes `:query-params` map and appends to `:uri`.
valuebabashka.http-client.interceptors
Returns URL-encoded query string for given params map.
functionorg.httpkit.client
Tests `property` `num-tests` times. Takes several optional keys: `:seed` Can be used to re-run previous tests,...
functionclojure.test.check
quot[ient] of dividing numerator by denominator.
functionclojure.core
Yields the unevaluated form.
special-formclojure.core
Create node representing a single quoted form where `children` is either a sequence of nodes or a single node. ``...
functionrewrite-clj.node
R
Delete siblings and raise node at zloc one level up - `[1 [2 |3 4]] => [1 |3]`
functionrewrite-clj.paredit
Returns a random floating point number between 0 (inclusive) and n (default 1) (exclusive).
functionclojure.core
Returns a random double between 0.0 (inclusive) and 1.0 (exclusive) based on the given immutable RNG. Note: to main...
functionclojure.test.check.random
Returns a random integer between 0 (inclusive) and n (exclusive).
functionclojure.core
Returns a random long based on the given immutable RNG. Note: to maintain independence you should not call more than ...
functionclojure.test.check.random
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
Generates a small ratio (or integer) using gen/small-integer. Shrinks toward simpler ratios, which may be larger or sm...
valueclojure.test.check.generators
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
Converts one or more strings into an object that will not be escaped when used with the [[hiccup2.core/html]] macro.
functionhiccup2.core
Create a node representing a form with metadata that renders to the reader syntax. When creating manually, you can s...
functionrewrite-clj.node
Converts one or more strings into an object that will not be escaped when used with the [[hiccup2.core/html]] macro.
functionhiccup.util
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 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
Reads a value from a reader. Throws a RuntimeException when the reader's InputStream is empty.
functioncognitect.transit
- function
clojure.core
Returns contents of file `f` as byte array via [Files/readAllBytes](https://docs.oracle.com/en/java/javase/11/docs/api/j...
functionbabashka.fs
Read all lines from a file `f` via [Files/readAllLines](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/jav...
functionbabashka.fs
Same as [[read-attributes*]] but turns `attributes` for `path` into a map and keywordizes keys. Keywordizing can be ch...
functionbabashka.fs
Reads `attributes` for `path` via [Files/readAttributes](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/ja...
functionbabashka.fs
Read bencode token from the input stream.
functionbencode.core
Returns the next char from the Reader, nil if the end of stream has been reached
functionclojure.tools.reader.reader-types
Reads CSV-data from input (String or java.io.Reader) into a lazy sequence of vectors. Valid options are :sepa...
functionclojure.data.csv
SCI var that represents SCI's `clojure.core/*read-eval*`
valuesci.core
Creates a transit ReadHandler whose fromRep method invokes the provided fn.
functioncognitect.transit
Returns a HandlerMapContainer containing a ReadHandlerMap containing all the default handlers for Clojure and Java and...
functioncognitect.transit
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
Reads the next line from stream that is the current value of *in* .
functionclojure.core
Reads the target of a symbolic link `path` via [Files/readSymbolicLink](https://docs.oracle.com/en/java/javase/11/docs/a...
functionbabashka.fs
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
- function
clojure.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
Returns true if `f` is readable via [Files/isReadable](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java...
functionbabashka.fs
Attempts to coerce its argument into an open java.io.Reader. Default implementations always return a java.io.Buffered...
functionclojure.java.io
Creates a reader over the provided source `in` using the specified format, one of: :msgpack, :json or :json-verbose. ...
functioncognitect.transit
Coerces x into indexing pushback-reader to be used with parse-next. Accepts string or `java.io.Reader`
functionedamame.core
Coerces x into indexing pushback-reader to be used with parse-next. Accepts: string or java.io.Reader.
functionsci.core
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
Create node representing a reader macro with `macro-node` and `form-node` or `children`. ```Clojure (require '[re...
functionrewrite-clj.node
- value
clojure.core.async.impl.protocols
Converts `f` into real `Path` via [Path#toRealPath](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/ni...
functionbabashka.fs
Returns true if a value has been produced for a promise, delay, future or lazy sequence.
functionclojure.core
Returns `zloc` with namespaced map sexpr context to all symbols and keywords reapplied from current location downward. ...
functionrewrite-clj.zip
Returns true if x is a record
functionclojure.core
Evaluates exprs and rebinds to the recursion point.
special-formclojure.core
This is a helper for writing recursive (tree-shaped) generators. The first argument should be a function that takes a ...
functionclojure.test.check.generators
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
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
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
Create node representing a regex with `pattern-string`. Use same escape rules for `pattern-string` as you would for `...
functionrewrite-clj.node
Returns true if `f` is a regular file, using [Files/isRegularFile](https://docs.oracle.com/en/java/javase/11/docs/api/ja...
functionbabashka.fs
reify creates an object implementing a protocol or interface. reify is a macro with the following structure: (reify ...
macroclojure.core
- function
clojure.core
Returns true if `f` represents a relative path (in other words, is not [[absolute?]]).
functionbabashka.fs
Returns relative `Path` by comparing `this` with `other` via [Path#relativize](https://docs.oracle.com/en/java/javase/11...
functionbabashka.fs
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
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
- function
clojure.test.check.rose-tree
Removes the node at loc, returning the loc that would have preceded it in a depth-first walk.
functionclojure.zip
Return `zloc` with current node removed. Returned zipper location is moved to the first non-whitespace node preceding...
functionrewrite-clj.zip
Raw version of [[remove]]. Returns zipper with current node in `zloc` removed, with location at node that would have pr...
functionrewrite-clj.zip
Removes all of the methods of multimethod.
functionclojure.core
- function
selmer.filters
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
Same as [[remove]] but preserves newlines. Specifically: will trim all whitespace - or whitespace up to first linebre...
functionrewrite-clj.zip
- function
selmer.parser
Remove f from the tap set.
functionclojure.core
Removes a watch (set by add-watch) from a reference
functionclojure.core
Deprecated - this function will be removed. Use transducer instead
functionclojure.core.async
Deprecated - this function will be removed. Use transducer instead
functionclojure.core.async
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
render takes the string, the context-map and possibly also opts.
functionselmer.parser
Parses files if there isn't a memoized post-parse vector ready to go, renders post-parse vector with passed context-m...
functionselmer.parser
Turn a Clojure data type into a string of HTML.
functionhiccup.compiler
vector of ^selmer.node.INodes and a context map.
functionselmer.parser
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
- function
clojure.main
Default :caught hook for repl
functionclojure.main
- function
clojure.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
Return `zloc` with the current node replaced by `item`. If `item` is not already a node, an attempt will be made to co...
functionrewrite-clj.zip
Raw version of [[replace]]. Returns zipper with node `item` replacing current node in `zloc`, without moving location. ...
functionrewrite-clj.zip
Returns `node` replacing current children with `children`.
functionrewrite-clj.node
Replaces the first instance of match with replacement in s. match/replacement can be: char / char string / st...
functionclojure.string
DEPRECATED: Use 'repeat' instead. Returns a lazy seq of n xs.
functionclojure.core
Generic reporting function, may be overridden to plug in different report formats (e.g., TAP, JUnit). Assertions suc...
multimethodclojure.test
Issues an async HTTP REPORT request. See `request` for details.
functionorg.httpkit.client
- function
babashka.curl
Perform request. Returns map with at least `:body`, `:status` Options: * `:uri` - the uri to request (required). ...
functionbabashka.http-client
Issues an async HTTP request and returns a promise object to which the value of `(callback {:opts _ :status _ :headers...
functionorg.httpkit.client
Request: normalize :method option
valuebabashka.http-client.interceptors
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
- function
clojure.core
Sets the value of atom to newval. Returns [old new], the value of the atom before and after the reset.
functionclojure.core
Creates a new generator with `size` always bound to `n`. (gen/sample (gen/set (gen/resize 200 gen/double))) ...
functionclojure.test.check.generators
same as (ns-resolve *ns* symbol) or (ns-resolve *ns* &env symbol)
functionclojure.core
- function
sci.core
Resolves an arg as passed to an add-tag! handler using the provided context-map. A custom tag handler will receive ...
functionselmer.parser
- function
clojure.tools.reader
- function
selmer.parser
- function
clojure.java.io
Returns a possibly empty seq of the items after the first. Calls seq on its argument.
functionclojure.core
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 a generator that always returns `value`, and never shrinks. You can think of this as the `constantly` of gen...
functionclojure.test.check.generators
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
Return zipper with location moved right to next non-whitespace/non-comment sibling of current node in `zloc`.
functionrewrite-clj.zip
Raw version of [[right]]. Returns zipper with location at the right sibling of the current node in `zloc`, or nil. NOT...
functionrewrite-clj.zip
Returns the loc of the rightmost sibling of the node at this loc, or self
functionclojure.zip
Return zipper with location moved to the rightmost non-whitespace/non-comment sibling of current node in `zloc`.
functionrewrite-clj.zip
Raw version of [[rightmost]]. Returns zipper with location at the rightmost sibling of the current node in `zloc`, or s...
functionrewrite-clj.zip
Return true if at rightmost non-whitespace/non-comment sibling node in `zloc`.
functionrewrite-clj.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
Returns `root` for `path` as `Path`, or `nil` via [Path#getRoot](https://docs.oracle.com/en/java/javase/11/docs/api/java...
functionbabashka.fs
Returns the root of a Rose tree.
functionclojure.test.check.rose-tree
zips all the way up and returns the root node, reflecting any changes.
functionclojure.zip
Zips all the way up `zloc` and returns the root node, reflecting any changes.
functionrewrite-clj.zip
Returns the last 'cause' Throwable in a chain of Throwables.
functionclojure.stacktrace
Return string representing the zipped-up `zloc` zipper.
functionrewrite-clj.zip
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
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
- function
babashka.tasks
Runs the supplied procedure (via reduce), for purposes of side effects, on successive items in the collection. Returns...
functionclojure.core
- function
clojure.test
Starts a mostly[1] Ring-compatible HttpServer with options: :ip ; Which IP to bind (default: 0.0.0....
functionorg.httpkit.server
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
- function
clojure.test
S
Deprecated - use (gen/fmap (comp dec -) gen/nat) instead (see also gen/large-integer). Generates negative integers bo...
valueclojure.test.check.generators
Deprecated - use (gen/fmap inc gen/nat) instead (see also gen/large-integer). Generates positive integers bounded by ...
valueclojure.test.check.generators
Returns `true` if `this` is the same file as `other` via [Files/isSamefile](https://docs.oracle.com/en/java/javase/11/do...
functionbabashka.fs
Return a sequence of `num-samples` (default 10) realized values from `generator`. The sequence starts with small va...
functionclojure.test.check.generators
Returns an infinite sequence of realized values from `generator`. Note that this function is a dev helper and is not ...
functionclojure.test.check.generators
Returns true if x satisfies the protocol
functionclojure.core
Returns d * 2^scaleFactor, scaling by a factor of 2. If the exponent is between Double/MIN_EXPONENT and Double/MAX_EXP...
functionclojure.math
Creates a new generator that modifies the size parameter by the given function. Intended to support generators with si...
functionclojure.test.check.generators
- function
org.httpkit.server
Same as (first (next x))
functionclojure.core
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
Sends a message to the WebSocket. `data` can be a CharSequence (e.g. string), byte array or ByteBuffer Options: *...
functionbabashka.http-client.websocket
Sends data to client and returns true if the data was successfully sent, or false if the channel is closed. Data is ...
functionorg.httpkit.server
send-checked-websocket-handshake!Given an AsyncChannel and `sec-ws-accept` string, unconditionally sends handshake to upgrade given AsyncChannel to a W...
functionorg.httpkit.server
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 true iff successfully upgraded a valid WebSocket request.
functionorg.httpkit.server
Returns a seq on the collection. If the collection is empty, returns nil. (seq nil) returns nil. seq also works on ...
functionclojure.core
Create a lazy-seq of all of the (unique) nodes in a shrink-tree. This assumes that two nodes with the same value have ...
functionclojure.test.check.rose-tree
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
Returns true if current node in `zloc` is a sequence.
functionrewrite-clj.zip
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
Given an HttpServer, returns server's local port.
functionorg.httpkit.server
Given an HttpServer, returns server's status e/o #{:stopped :running :stopping}.
functionorg.httpkit.server
Signals given `HttpServer` to stop. If already stopping: returns nil. If not already stopping: returns a Promis...
functionorg.httpkit.server
Returns a set of the distinct elements of coll.
functionclojure.core
Generates a set of elements from the given generator. If the generator cannot or is unlikely to produce enough distin...
functionclojure.test.check.generators
Assigns a new value to a var or field.
special-formclojure.core
Establish thread local binding of dynamic var
functionsci.core
Sets the ExecutorService to be used by send
functionclojure.core
Sets the ExecutorService to be used by send-off
functionclojure.core
Set `attribute` for `path` to `value` via [Files/setAttribute](https://docs.oracle.com/en/java/javase/11/docs/api/java.b...
functionbabashka.fs
Register INT signal handler. After calling this, Ctrl-C will cause the given function f to be called with a single ar...
functionclojure.repl
- function
selmer.parser
- function
taoensso.timbre
Sets creation time of `f` to time (`epoch millis` or [FileTime](https://docs.oracle.com/en/java/javase/11/docs/api/java....
functionbabashka.fs
- function
babashka.pods
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
Sets last modified time of `f` to `time` (`epoch millis` or [FileTime](https://docs.oracle.com/en/java/javase/11/docs/ap...
functionbabashka.fs
Prefer `set-min-level!.`
functiontaoensso.timbre
- function
taoensso.timbre
Takes a function of two arguments which is called on a missing value. The function should return the value to be outp...
functionselmer.util
Create a node representing a set with `children`. ```Clojure (require '[rewrite-clj.node :as n]) (-> (n/set-n...
functionrewrite-clj.node
Returns given Timbre `config` with its `:min-level` modified so that the given namespace has the specified minimum log...
functiontaoensso.timbre
Like `set-ns-min-level` but directly modifies `*config*`. Can conveniently set the minimum log level for the curre...
macrotaoensso.timbre
Sets `posix-file-permissions` on `f`. Accepts a string like `"rwx------"` or a set of `PosixFilePermission`.
functionbabashka.fs
set custom location, where templates are being searched for. path may be a java.net.URL instance or a string. If it's ...
functionselmer.parser
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
Returns true if current node in `zloc` is a set.
functionrewrite-clj.zip
Convert a single sexp into an Element
functionclojure.data.xml
Return `node` converted to form. Optional `opts` can specify: - `:auto-resolve` specify a function to customize nam...
functionrewrite-clj.node
Return s-expression (the Clojure form) of current node in `zloc`. See docs for [sexpr nuances](/doc/01-user-guide.ado...
functionrewrite-clj.zip
Return true if [[sexpr]] is supported for `node`'s element type. See [related docs in user guide](/doc/01-user-guide...
functionrewrite-clj.node
Return true if current node's element type in `zloc` can be [[sexpr]]-ed. See [related docs in user guide](/doc/01-u...
functionrewrite-clj.zip
Return forms for `nodes`. Nodes that do not represent s-expression are skipped. Optional `opts` can specify: - `:au...
functionrewrite-clj.node
Convert a compact prxml/hiccup-style data structure into the more formal tag/attrs/content format. A seq of elements ...
functionclojure.data.xml
Convenience function similar to `clojure.java.shell/sh` that sets `:out` and `:err` to `:string` by default and blocks...
functionbabashka.process
Passes the given strings to Runtime.exec() to launch a sub-process. Options are :in may be given followed by ...
functionclojure.java.shell
Convenience function around `process` that was originally in `babashka.tasks`. Defaults to inheriting I/O: input is re...
functionbabashka.process
- function
babashka.tasks
Coerce to short
functionclojure.core
Creates an array of shorts
functionclojure.core
Casts to shorts[]
functionclojure.core
- function
clojure.test.check.rose-tree
Creates a new generator like `gen`, but will consider nodes for shrinking even if their parent passes the test (up to ...
functionclojure.test.check.generators
- function
clojure.test.check.rose-tree
Return a random permutation of coll
functionclojure.core
Creates a generator that generates random permutations of `coll`. Shrinks toward the original collection: `coll`. `col...
functionclojure.test.check.generators
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
Generates a variety of scalar types.
valueclojure.test.check.generators
Like gen/simple-type, but only generates objects that can be equal to other objects (e.g., not a NaN).
valueclojure.test.check.generators
Generates a variety of scalar types, with printable strings.
valueclojure.test.check.generators
simple-type-printable-equatableLike gen/simple-type-printable, but only generates objects that can be equal to other objects (e.g., not a NaN).
valueclojure.test.check.generators
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
Returns the size of a file (in bytes).
functionbabashka.fs
Generates an integer (long or bigint) bounded exclusively by ±2^(6*size).
valueclojure.test.check.generators
Creates a generator that depends on the size parameter. `sized-gen` is a function that takes an integer and returns ...
functionclojure.test.check.generators
Return zipper with location moved to first location not satisfying predicate `p?` starting from the node in `zloc` an...
functionrewrite-clj.zip
- function
selmer.parser
Return zipper with location moved to first non-whitespace/non-comment starting from current node in `zloc` and traver...
functionrewrite-clj.zip
Return zipper with location moved to first non-whitespace/non-comment starting from current node in `zloc` traversing le...
functionrewrite-clj.zip
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
DEPRECATED: we recommend [[slurp-backward-into]] for more control. Returns `zloc` with node to the left of nearest el...
functionrewrite-clj.paredit
DEPRECATED: We recommend instead [[slurp-backward-fully-into]] for more control. Returns `zloc` with all left sibling...
functionrewrite-clj.paredit
Returns `zloc` with all left sibling nodes of nearest eligible sequnece slurped into that sequence else `zloc` See al...
functionrewrite-clj.paredit
Returns `zloc` with node to the left of nearest eligible sequence slurped into that sequence else `zloc` unchanged. O...
functionrewrite-clj.paredit
DEPRECATED: we recommend [[slurp-forward-into]] instead for more control. Return `zloc` with node to the right of nea...
functionrewrite-clj.paredit
DEPRECATED: We recommend [[slurp-forward-fully-into]]] for more control. Return `zloc` with all right sibling nodes o...
functionrewrite-clj.paredit
Return `zloc` with all right sibling nodes of nearest eligible sequence slurped into that sequence else `zloc` unchanged...
functionrewrite-clj.paredit
Return `zloc` with node to the right of nearest eligible sequence slurped into that sequence else `zloc` unchanged. O...
functionrewrite-clj.paredit
Generates a positive or negative integer bounded by the generator's `size` parameter. Shrinks to zero.
valueclojure.test.check.generators
Sets the solo mode of the mix. mode must be one of :mute or :pause
functionclojure.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
Generates a sorted set of elements from the given generator. If the generator cannot or is unlikely to produce enough...
functionclojure.test.check.generators
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 define...
macroclojure.repl
- function
clojure.repl
source-logging-push-back-readerCreates a SourceLoggingPushbackReader from a given string or PushbackReader
functionclojure.tools.reader.reader-types
- function
clojure.tools.reader.reader-types
Coerces x into source-logging-reader to be used with parse-next. Accepts string or `java.io.Reader`
functionedamame.core
- function
sci.core
Create node representing `n` spaces.
functionrewrite-clj.node
Converts spec into opts format. Pass existing opts as optional second argument.
functionbabashka.cli
Returns true if s names a special form
functionclojure.core
Opposite of slurp. Opens f with writer, writes content, then closes f. Options passed to clojure.java.io/writer.
functionclojure.core
Returns a simple `spit` file appender for Clojure.
functiontaoensso.timbre
Returns a simple `spit` file appender for Clojure.
functiontaoensso.timbre.appenders.core
See [[rewrite-clj.zip/splice]]
functionrewrite-clj.paredit
Return zipper with the children of the current node in `zloc` merged into itself. (akin to Clojure's `unquote-splicin...
functionrewrite-clj.zip
Return `zloc` with current and right siblings spliced into parent sequence. - `(a (b c |d e f) g) => (a |d e f g)` ...
functionrewrite-clj.paredit
Return `zloc` with left siblings spliced into parent sequence. - `(a (b c |d e f) g) => (a b |c g)`
functionrewrite-clj.paredit
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 two new RNGs [rng1 rng2], which should generate sufficiently independent random data. Note: to maintain ind...
functionclojure.test.check.random
Return `zloc` with parent sequence split into to two sequences at current node. Location is retained. If split would r...
functionrewrite-clj.paredit
Returns a vector of [(take n coll) (drop n coll)]
functionclojure.core
In-string aware split. Returns `zloc` with node found at `pos` split. If `pos` is inside a string, splits string into ...
functionrewrite-clj.paredit
Returns the classpath as a seq of strings, split by the platform specific path separator.
functionbabashka.classpath
Splits `path` on extension. If provided, a specific extension `ext`, the extension (without dot), will be used for spl...
functionbabashka.fs
Splits s on \n or \r\n. Trailing empty lines are not returned.
functionclojure.string
Returns a collection of `n` RNGs, which should generate sufficiently independent random data. Note: to maintain ind...
functionclojure.test.check.random
Splits a `joined-paths` list given as a string joined by the OS-specific [[path-separator]] into a vec of paths. On UN...
functionbabashka.fs
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 named form and logs its result. Always returns the result. Defaults to `:debug` logging level, and uneval...
macrotaoensso.timbre
Evaluates expr and may write (logf level fmt result) to the log. Returns the result of expr. Defaults to :debug log le...
macroclojure.tools.logging.readable
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
SNI-capable SSL configurer. May be used as an argument to `org.httpkit.client/make-client`: (make-client :ssl-con...
functionorg.httpkit.sni-client
- function
clojure.repl
Returns list of stacktrace element maps from exception, if available.
functionsci.core
Constructs a data representation for a StackTraceElement: [class method file line]
functionclojure.core
Takes a process builder, calls start and returns a process (as record).
functionbabashka.process
Start an external command, defined in args. The process environment vars are inherited from the parent by default (u...
functionclojure.java.process
- function
babashka.nrepl.server
Returns `true` if path `this` starts with path `other` via [Path#startsWith](https://docs.oracle.com/en/java/javase/11/d...
functionbabashka.fs
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
- function
babashka.nrepl.server
With no args, returns the empty string. With one arg x, returns x.toString(). (str nil) returns the empty string. Wit...
functionclojure.core
Converts a string `s` to a set of `PosixFilePermission`. `s` is a string like `"rwx------"`.
functionbabashka.fs
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
Generates strings. May generate unprintable characters.
valueclojure.test.check.generators
Return the string version of `node`.
functionrewrite-clj.node
Return string representing the current node in `zloc`.
functionrewrite-clj.zip
Deprecated - use string-alphanumeric instead. Generates alphanumeric strings.
valueclojure.test.check.generators
Generates alphanumeric strings.
valueclojure.test.check.generators
Generates ascii strings.
valueclojure.test.check.generators
Create node representing a string value where `lines` can be a sequence of strings or a single string. When `lines` i...
functionrewrite-clj.node
Creates a PushbackReader from a given string
functionclojure.tools.reader.reader-types
Return true if x is a String
functionclojure.core
Recursively transforms all map keys from keywords to strings.
functionclojure.walk
Strips extension for `path` via [[split-ext]].
functionbabashka.fs
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
Like `->`, threads `zloc`, as an isolated sub-tree through forms, then zips up to, and locates at, the root of the mo...
macrorewrite-clj.zip
Like `->`, threads `zloc`, as an isolated sub-tree through forms, then zips up to, and locates at, the root of the mo...
macrorewrite-clj.zip.subedit
Like `->>`. Threads `zloc`, as an isolated sub-tree through forms, then zips up to, and locates at, the root of th...
macrorewrite-clj.zip
Like `->>`. Threads `zloc`, as an isolated sub-tree through forms, then zips up to, and locates at, the root of th...
macrorewrite-clj.zip.subedit
Return zipper replacing current node in `zloc` with result of `f` applied to said node as an isolated sub-tree. The r...
functionrewrite-clj.zip
Return zipper replacing current node in `zloc` with result of `f` applied to said node as an isolated sub-tree. The r...
functionrewrite-clj.zip.subedit
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
Create and return a zipper whose root is the current node in `zloc`. See [docs on sub editing](/doc/01-user-guide.ad...
functionrewrite-clj.zip
Create and return a zipper whose root is the current node in `zloc`. See [docs on sub editing](/doc/01-user-guide.ad...
functionrewrite-clj.zip.subedit
Returns true if the given test summary indicates all tests were successful, false otherwise.
functionclojure.test
Creates a generator that generates values from `gen` that satisfy predicate `pred`. Care is needed to ensure there is ...
functionclojure.test.check.generators
Return zipper with the current node in `zloc` suffixed with string `s`. Operates on token node or a multi-line node, ...
functionrewrite-clj.zip
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
- function
taoensso.timbre
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
Determines if `f` is a symbolic link via [Files/isSymbolicLink](https://docs.oracle.com/en/java/javase/11/docs/api/java....
functionbabashka.fs
Returns a Symbol with the given namespace and name. Arity-1 works on strings, keywords, and vars.
functionclojure.core
Generates symbols without namespaces.
valueclojure.test.check.generators
Returns true if `n` is a node representing a symbol.
functionrewrite-clj.node
Generates symbols with namespaces.
valueclojure.test.check.generators
- function
clojure.data.xml
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 expr...
macroclojure.core
Create node representing a single syntax-quoted form where `children` is either a sequence of nodes or a single node....
functionrewrite-clj.node
- function
clojure.core
T
Takes a table-ish node, returns a map suitable for hiccup style attributes with a :text-align property.
functionnextjournal.markdown
Returns keyword representing type of `node`.
functionrewrite-clj.node
Return tag of current node in `zloc`.
functionrewrite-clj.zip
Parses the content of a tag. Returns a map of tag-name -> args & content, which can then be interpreted by the callin...
functionselmer.parser
- function
selmer.tags
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
Creates a TaggedValue object.
functioncognitect.transit
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
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
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
sends x to any taps. Will not block. Returns true if there was room in the queue, false if not (dropped).
functionclojure.core
Returns `java.io.tmpdir` property as path.
functionbabashka.fs
- value
selmer.parser
test [v] finds fn at key :test in var metadata and calls it, presuming failure will throw exception
functionclojure.core
- function
clojure.test
- function
clojure.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-vars on them with appropriate fixtures applied.
functionclojure.test
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
- function
nextjournal.markdown.utils
If passed a namespace, returns it. Else, when passed a symbol, returns the namespace named by it, throwing an exceptio...
functionclojure.core
- macro
clojure.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
Throw an exception.
special-formclojure.core
throw-on-exceptional-status-codeResponse: throw on exceptional status codes
valuebabashka.http-client.interceptors
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
- function
clojure.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
Deprecated - use to-chan! or to-chan!!
functionclojure.core.async
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
Converts an angle in degrees to an approximate equivalent angle in radians. See: https://docs.oracle.com/javase/8/docs...
functionclojure.math
Convert a value into a URI.
functionhiccup.util
Transform a toc node into hiccup data, suitable for using as renderer function in hiccup transform, see [->hiccup](#mark...
functionnextjournal.markdown
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
Create node for an unspecified token of `value`. ```Clojure (require '[rewrite-clj.node :as n]) (-> (n/token-...
functionrewrite-clj.node
Tokenize string to list of individual space separated arguments. If argument contains space you can wrap it with `'` o...
functionbabashka.process
- function
nextjournal.markdown.utils
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 print-style args. See logp for details.
macroclojure.tools.logging.readable
- macro
taoensso.timbre
Trace level logging using format. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.
macroclojure.tools.logging
Trace level logging using format. See logf for details.
macroclojure.tools.logging.readable
- macro
taoensso.timbre
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
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 expression.
special-formclojure.core
Like `try`, but `catch` clause class may be: `:ex-info` -- Catches only `ExceptionInfo` `:common` --- Catc...
macrotaoensso.encore
Like `try`, but `catch` clause class may be: `:ex-info` -- Catches only `ExceptionInfo` `:common` --- Catc...
macrotaoensso.truss
Used by the 'is' macro to catch unexpected exceptions. You don't call this.
macroclojure.test
Returns true if the given file descriptor is associated with a terminal. fd should be :stdin, :stdout, or :stderr.
functionbabashka.terminal
Creates a generator that returns a vector, whose elements are chosen from the generators in the same position. The ind...
functionclojure.test.check.generators
- function
selmer.util
- function
selmer.util
Returns the :type metadata of x, or its Class if none
functionclojure.core
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
Create node representing an unevaled form with `children`. ```Clojure (require '[rewrite-clj.node :as n]) (->...
functionrewrite-clj.node
- value
babashka.http-client.interceptors
Return a set that is the union of the input sets
functionclojure.set
Deprecated - this function will be removed. Use transducer instead
functionclojure.core.async
Returns path as string with Unix-style file separators (`/`).
functionbabashka.fs
- function
babashka.pods
Issues an async HTTP UNLOCK request. See `request` for details.
functionorg.httpkit.client
Returns `m` without positional data wrapper, else `m` if not wrapped. See [docs](/doc/01-user-guide.adoc#mark).
functionclj-yaml.core
Removes ch as an input to the mix
functionclojure.core.async
removes all inputs from the mix
functionclojure.core.async
- value
clojure.core
Create node representing a single unquoted form where `children` is either a sequence of nodes or a single node. ...
functionrewrite-clj.node
Create node representing a single unquote-spliced form where `children` is either a sequence of nodes or a single nod...
functionrewrite-clj.node
Pushes back a single character on to the stream
functionclojure.tools.reader.reader-types
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
Unsubscribes all channels from a pub, or a topic of a pub
functionclojure.core.async
Disconnects a target channel from a mult
functionclojure.core.async
Disconnects all target channels from a mult
functionclojure.core.async
Unzips `zip-file` to `dest` directory (default `"."`). Options: * `:replace-existing` - `true` / `false`: overwri...
functionbabashka.fs
Returns the loc of the parent of the node at this loc, or nil if at the top
functionclojure.zip
Return zipper with location moved up to next non-whitespace/non-comment parent of current node in `zloc`, or `nil` if at...
functionrewrite-clj.zip
Raw version of [[up]]. Returns zipper with the location at the parent of current node in `zloc`, or nil if at the top...
functionrewrite-clj.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 the contents of text file `path` using `f` applied to old contents and `xs`. Returns the new contents. Opti...
functionbabashka.fs
'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
Takes a proxy instance and a map of strings (which must correspond to methods of the proxy superclass/superinterfaces)...
functionclojure.core
- function
selmer.parser
Assocs in the passed tag to the tags map.
functionselmer.parser
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
- function
clojure.data.xml
We can't use the URI constructor because it encodes all arguments for us. See https://stackoverflow.com/a/77971448/626...
functionbabashka.http-client.interceptors
Return true if x is a java.net.URI
functionclojure.core
- function
org.httpkit.client
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
Generates a random type-4 UUID. Does not shrink.
valueclojure.test.check.generators
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
selmer.validator
Returns a sequence of the map's values, in the same order as (seq map).
functionclojure.core
DEPRECATED: Get first child as a pair of tag/sexpr (if inner node), or just the node's own sexpr. (use explicit analy...
functionrewrite-clj.node
DEPRECATED. Return a tag/s-expression pair for inner nodes, or the s-expression itself for leaves.
functionrewrite-clj.zip
Returns a fully qualified symbol from a `sci.lang.Var`
functionsci.core
Gets the value in the var object
functionclojure.core
Create node representing a var where `children` is either a sequence of nodes or a single node. ```Clojure (re...
functionrewrite-clj.node
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 generator of vectors whose elements are chosen from `generator`. The count of the vector will be bounded by ...
functionclojure.test.check.generators
Generates a vector of elements from the given generator, with the guarantee that the elements will be distinct. If ...
functionclojure.test.check.generators
Generates a vector of elements from the given generator, with the guarantee that (map key-fn the-vector) will be disti...
functionclojure.test.check.generators
Create a node representing a vector with `children`. ```Clojure (require '[rewrite-clj.node :as n]) (-> (n/ve...
functionrewrite-clj.node
Returns a zipper for nested vectors, given a root vector
functionclojure.zip
Return true if x implements IPersistentVector
functionclojure.core
Returns true if current node in `zloc` is a vector.
functionrewrite-clj.zip
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
Waits for file path to be available. Options map supports `:default`, `:timeout` and `:pause`. If `:timeout` is provid...
functionbabashka.wait
Waits for TCP connection to be available on host and port. Options map supports `:timeout` and `:pause`. If `:timeout`...
functionbabashka.wait
Traverses form, an arbitrary data structure. inner and outer are functions. Applies inner to each element of form, b...
functionclojure.walk
Walks `f` using [Files/walkFileTree](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/Files.ht...
functionbabashka.fs
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 print-style args. See logp for details.
macroclojure.tools.logging.readable
- macro
taoensso.timbre
Warn level logging using format. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.
macroclojure.tools.logging
Warn level logging using format. See logf for details.
macroclojure.tools.logging.readable
- macro
taoensso.timbre
Builds `java.net.http.Websocket` client. * `:uri` - the uri to request (required). May be a string or map of `:sc...
functionbabashka.http-client.websocket
Returns `sec-ws-accept` string iff given Ring request is a valid WebSocket handshake.
functionorg.httpkit.server
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
Returns `Path` to first executable `program` found in `:paths` `opt`, similar to the `which` Unix command. Default for...
functionbabashka.fs
Returns every `Path` to `program` found in ([[exec-paths]]). See [[which]].
functionbabashka.fs
Repeatedly executes body while test expression is true. Presumes some side-effect will cause test to become false/nil....
macroclojure.core
Create whitespace node of string `s`, where `s` is one or more space characters.
functionrewrite-clj.node
Convert string `s` of whitespace to whitespace/newline nodes.
functionrewrite-clj.node
Check whether the given node represents whitespace or comment.
functionrewrite-clj.node
Returns true when current node in `zloc` is whitespace or a comment.
functionrewrite-clj.zip
Returns true if `node` represents Clojure whitespace.
functionrewrite-clj.node
Returns true when the current the node in `zloc` is a Clojure whitespace (which includes the comma).
functionrewrite-clj.zip
- function
babashka.core
Returns true if OS is Windows.
functionbabashka.fs
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
Macro for binding sci vars. Must be called with map of sci dynamic vars to values. Used in babashka.
macrosci.core
Takes a map of Var/value pairs. Installs for the given Vars the associated values as thread-local bindings. Then calls...
functionclojure.core
DEPRECATED: this macro has potential race conditions, Ref. #318. Prefer `as-channel` instead.
macroorg.httpkit.server
- macro
selmer.util
Evaluates body in a context in which *in* is bound to a fresh StringReader initialized with the string s.
macroclojure.core
Evaluates body in a context in which sci's *in* is bound to a fresh StringReader initialized with the string s.
macrosci.core
Prefer `with-min-level`.
macrotaoensso.timbre
varbinding=> symbol init-expr Executes the exprs in a context in which the symbols are bound to vars with per-threa...
macroclojure.core
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
Evaluates exprs in a context in which sci's *out* is bound to a fresh StringWriter. Returns the string created by any...
macrosci.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
Evaluates body with binding-name bound to the result of `(create-temp-dir options)`. See [[create-temp-dir]] for valid...
macrobabashka.fs
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
- macro
selmer.util
Wrap current node with a given type `t` where `t` can be one of `:vector`, `:list`, `:set`, `:map` `:fn`. - `|123 => ...
functionrewrite-clj.paredit
Create a new seq node of type `t` left of `zloc` then slurp fully into the new node - `[1 |2 3 4] => [1 [|2 3 4]]`
functionrewrite-clj.paredit
Returns true if `f` is writable via [Files/isWritable](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java...
functionbabashka.fs
Write an object subject to the current bindings of the printer control variables. Use the kw-args argument to override i...
functionclojure.pprint
Writes a value to a transit writer.
functioncognitect.transit
Write the given thing to the output stream. “Thing” means here a string, map, sequence or integer. Alternatively an By...
functionbencode.core
Writes `bytes` to `path` via [Files/write](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/Fi...
functionbabashka.fs
Writes data to writer in CSV-format. Valid options are :separator (Default \,) :quote (Default \") :q...
functionclojure.data.csv
Creates a transit WriteHandler whose tag, rep, stringRep, and verboseWriteHandler methods invoke the provided fns....
functioncognitect.transit
Returns a HandlerMapContainer containing a WriteHandlerMap containing all the default handlers for Clojure and Java an...
functioncognitect.transit
Writes `lines`, a seqable of strings to `path` via [Files/write](https://docs.oracle.com/en/java/javase/11/docs/api/java...
functionbabashka.fs
For :transform. Will write any metadata present on the value.
functioncognitect.transit
Write an object to *out* subject to the current bindings of the printer control variables. Use the kw-args argument to ...
functionclojure.pprint
Attempts to coerce its argument into an open java.io.Writer. Default implementations always return a java.io.Buffered...
functionclojure.java.io
Creates a writer over the provided destination `out` using the specified format, one of: :msgpack, :json or :json-ver...
functioncognitect.transit
X
Path representing the base directory relative to which user-specific non-essential data files should be stored as descri...
functionbabashka.fs
Path representing the base directory relative to which user-specific configuration files should be stored as described i...
functionbabashka.fs
Path representing the base directory relative to which user-specific data files should be stored as described in the [XD...
functionbabashka.fs
Path representing the base directory relative to which user-specific state files should be stored as described in the [X...
functionbabashka.fs
Create a Comment node
functionclojure.data.xml
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
Returns true if num is zero, else false
functionclojure.core
Zips entry or `entries` into `zip-file`. An entry may be a file or directory. Directories are included recursively and...
functionbabashka.fs
Apply `f` to the sequence of Rose trees `roses`.
functionclojure.test.check.rose-tree
Returns a map with the keys mapped to the corresponding vals.
functionclojure.core
Creates a new zipper structure. branch? is a fn that, given a node, returns true if can have children, even if it ...
functionclojure.zip