Functions
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 a function that takes any number of arguments and returns x.
functionclojure.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
params => positional-params*, or positional-params* & rest-param positional-param => binding-form rest-param => bind...
macroclojure.core
Returns its argument.
functionclojure.core
Takes a function f and fewer than the normal arguments to f, and returns a fn that takes a variable number of addition...
functionclojure.core
If coll is counted? returns its count, else will count at most the first n elements of coll using its seq
functionclojure.core
Returns an implementation of java.util.Comparator based upon pred.
functionclojure.core
Same as (first (first x))
functionclojure.core
Same as (first (next x))
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 the x for which (k x), a number, is greatest. If there are multiple such xs, the last one is returned.
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
Same as (next (first x))
functionclojure.core
Same as (next (next x))
functionclojure.core
Applies fn f to the argument list formed by prepending intervening arguments to args.
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
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
Takes a set of predicates and returns a function f that returns true if all of its composing predicates return a logic...
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
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
Returns a memoized version of a referentially transparent function. The memoized version of the function keeps a cache...
functionclojure.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
trampoline can be used to convert algorithms requiring mutual recursion without stack consumption. Calls f with suppli...
functionclojure.core
Positional factory function for class clojure.core.memoize.PluggableMemoization.
functionclojure.core.memoize
Positional factory function for class clojure.core.memoize.RetryingDelay.
functionclojure.core.memoize
Builds a function that, given a function, returns a pluggable memoized version of it. `build-memoizer` takes a cache...
functionclojure.core.memoize
Works the same as the basic memoization function (i.e. `memo` and `core.memoize` except when a given threshold is bre...
functionclojure.core.memoize
Returns a lazy snapshot of a core.memo-placed memoization cache. By lazy snapshot you can infer that what you get is...
functionclojure.core.memoize
Works the same as the basic memoization function (i.e. `memo` and `core.memoize` except when a given threshold is bre...
functionclojure.core.memoize
Similar to the implementation of memo-lru, except that this function removes all cache values whose usage value is ...
functionclojure.core.memoize
Used as a more flexible alternative to Clojure's core `memoization` function. Memoized functions built using `memo` ...
functionclojure.core.memoize
Reaches into an core.memo-memoized function and clears the cache. This is a destructive operation and should be used...
functionclojure.core.memoize
DEPRECATED: Please use clojure.core.memoize/fifo instead.
functionclojure.core.memoize
DEPRECATED: Please use clojure.core.memoize/lru instead.
functionclojure.core.memoize
DEPRECATED: Please use clojure.core.memoize/lu instead.
functionclojure.core.memoize
Takes a core.memo-populated function and a map and replaces the memoization cache with the supplied map. This is pot...
functionclojure.core.memoize
The 2-arity version takes a core.memo-populated function and a map and replaces the memoization cache with the supplie...
functionclojure.core.memoize
DEPRECATED: Please use clojure.core.memoize/ttl instead.
functionclojure.core.memoize
- function
clojure.core.memoize
Returns true if a function has an core.memo-placed cache, false otherwise.
functionclojure.core.memoize
Build a pluggable memoized version of a function. Given a function and a (pluggable memoized) cache, and an optional s...
functionclojure.core.memoize
Returns a snapshot of a core.memo-placed memoization cache. By snapshot you can infer that what you get is only the ...
functionclojure.core.memoize
Unlike many of the other core.memo memoization functions, `memo-ttl`'s cache policy is time-based rather than algorit...
functionclojure.core.memoize
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
Binds name to expr, evaluates the first form in the lexical context of that binding, then binds name to that result, r...
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
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