From da56a66ac4c2f65209ec3c4a9066897d87b6d477 Mon Sep 17 00:00:00 2001
From: Roman Bataev
Date: Sun, 13 Aug 2023 10:03:54 -0400
Subject: [PATCH] v1.3.0
---
core/procs.go | 2 +-
docs/index.html | 50 +++
docs/joker.core.html | 652 ++++++++++++++++++-------------------
docs/main.js | 2 +-
std/git/a_git_slow_init.go | 17 +-
5 files changed, 379 insertions(+), 344 deletions(-)
diff --git a/core/procs.go b/core/procs.go
index 1ba17a3d0..169501f19 100644
--- a/core/procs.go
+++ b/core/procs.go
@@ -38,7 +38,7 @@ const (
PRINT_IF_NOT_NIL
)
-const VERSION = "v1.2.0"
+const VERSION = "v1.3.0"
const (
CLJ Dialect = iota
diff --git a/docs/index.html b/docs/index.html
index 08f2befd1..be9828685 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -61,6 +61,9 @@
joker.filepath
+
+ joker.git
+
joker.hex
@@ -146,6 +149,9 @@
ArraySeq
+
+ ArrayVector
+
Associative
@@ -194,6 +200,9 @@
Counted
+
+ CountedIndexed
+
Delay
@@ -221,6 +230,9 @@
Gettable
+
+ GitRepo
+
HashMap
@@ -290,6 +302,9 @@
RecurBindings
+
+ Reduce
+
Ref
@@ -329,6 +344,9 @@
Var
+
+ Vec
+
Vector
@@ -451,6 +469,12 @@ joker.filepath
Implements utility routines for manipulating filename paths.
details
+
+ joker.git
+ v1.0
+ Provides API for accessing and manipulating git repositories.
+ details
+
joker.hex
v1.0
@@ -614,6 +638,11 @@ ArraySeq
v1.0
(Concrete reference type)
+
+ ArrayVector
+ v1.0
+ (Concrete reference type)
+
Associative
v1.0
@@ -699,6 +728,11 @@ Counted
v1.0
(Interface type)
+
+ CountedIndexed
+ v1.0
+ (Interface type)
+
Delay
v1.0
@@ -746,6 +780,12 @@ Gettable
v1.0
(Interface type)
+
+ GitRepo
+ v1.0
+ (Concrete type)
+ Wraps git.Repository type
+
HashMap
v1.0
@@ -866,6 +906,11 @@ RecurBindings
v1.0
(Concrete reference type)
+
+ Reduce
+ v1.0
+ (Interface type)
+
Ref
v1.0
@@ -934,6 +979,11 @@ Var
v1.0
(Concrete reference type)
+
+ Vec
+ v1.0
+ (Interface type)
+
Vector
v1.0
diff --git a/docs/joker.core.html b/docs/joker.core.html
index 44dc04de0..2e6a2214f 100644
--- a/docs/joker.core.html
+++ b/docs/joker.core.html
@@ -1231,7 +1231,7 @@ *1
v1.0
bound in a repl to the most recent value printed
- source
+ source
@@ -1240,7 +1240,7 @@ *2
v1.0
bound in a repl to the second most recent value printed
- source
+ source
@@ -1249,7 +1249,7 @@ *3
v1.0
bound in a repl to the third most recent value printed
- source
+ source
@@ -1277,7 +1277,7 @@ *e
v1.0
bound in a repl to the most recent exception caught by the repl
- source
+ source
@@ -1310,7 +1310,7 @@ *flush-on-newline*
When set to true, output will be flushed whenever a newline is printed.
Defaults to true.
- source
+ source
@@ -1403,7 +1403,7 @@ default-data-readers
Default map of data reader functions provided by Joker. May be
overridden by binding *data-readers*.
- source
+ source
@@ -1421,7 +1421,7 @@ *
Returns the product of nums. (*) returns 1. Does not auto-promote
ints, will overflow. See also: *'
- source
+ source
show types
@@ -1435,7 +1435,7 @@ *'
Returns the product of nums. (*) returns 1. Supports arbitrary precision.
See also: *
- source
+ source
show types
@@ -1449,7 +1449,7 @@ +
Returns the sum of nums. (+) returns 0. Does not auto-promote
ints, will overflow. See also: +'
- source
+ source
show types
@@ -1463,7 +1463,7 @@ +'
Returns the sum of nums. (+) returns 0. Supports arbitrary precision.
See also: +
- source
+ source
show types
@@ -1477,7 +1477,7 @@ -
If no ys are supplied, returns the negation of x, else subtracts
the ys from x and returns the result. Does not auto-promote
ints, will overflow. See also: -'
- source
+ source
show types
@@ -1491,7 +1491,7 @@ -'
If no ys are supplied, returns the negation of x, else subtracts
the ys from x and returns the result. Supports arbitrary precision.
See also: -
- source
+ source
show types
@@ -1504,7 +1504,7 @@ ->
second item in the first form, making a list of it if it is not a
list already. If there are more forms, inserts the first form as the
second item in second form, etc.
- source
+ source
@@ -1517,7 +1517,7 @@ ->>
last item in the first form, making a list of it if it is not a
list already. If there are more forms, inserts the first form as the
last item in second form, etc.
- source
+ source
@@ -1530,7 +1530,7 @@ /
If no denominators are supplied, returns 1/numerator,
else returns numerator divided by all of the denominators.
- source
+ source
show types
@@ -1555,7 +1555,7 @@ <!
Takes a value from ch.
Returns nil if ch is closed and nothing is available on ch.
Blocks if nothing is available on ch and ch is not closed.
- source
+ source
show types
@@ -1568,7 +1568,7 @@ <=
Returns non-nil if nums are in monotonically non-decreasing order,
otherwise false.
- source
+ source
show types
@@ -1596,7 +1596,7 @@ ==
Returns non-nil if nums all have the equivalent
value (type-independent), otherwise false
- source
+ source
show types
@@ -1609,7 +1609,7 @@ >
Returns non-nil if nums are in monotonically decreasing order,
otherwise false.
- source
+ source
show types
@@ -1622,7 +1622,7 @@ >!
Throws an exception if val is nil.
Blocks if ch is full (no buffer space is available).
Returns true unless ch is already closed.
- source
+ source
show types
@@ -1635,7 +1635,7 @@ >=
Returns non-nil if nums are in monotonically non-increasing order,
otherwise false.
- source
+ source
show types
@@ -1648,7 +1648,7 @@ alias
namespace. Arguments are two symbols: the alias to be used, and
the symbolic name of the target namespace. Use :as in the ns macro in preference
to calling this directly.
- source
+ source
show types
@@ -1658,7 +1658,7 @@ all-ns
(all-ns)
^Seq (all-ns)
Returns a sequence of all namespaces.
- source
+ source
show types
@@ -1672,7 +1672,7 @@
(apply f its-current-meta args)
f must be free of side-effects
- source
+ source
show types
@@ -1722,7 +1722,7 @@ array-map
Constructs an array-map. If any keys are equal, they are handled as
if by repeated uses of assoc.
- source
+ source
@@ -1734,7 +1734,7 @@ as->
Binds name to expr, evaluates the first form in the lexical context
of that binding, then binds name to that result, repeating for each
successive form, returning the result of the last form.
- source
+ source
@@ -1746,7 +1746,7 @@ assert
Evaluates expr and throws an exception if it does not evaluate to
logical true.
- source
+ source
@@ -1772,7 +1772,7 @@ assoc-in
Associates a value in a nested associative structure, where ks is a
sequence of keys and v is the new value and returns a new nested structure.
If any levels do not exist, hash-maps will be created.
- source
+ source
show types
@@ -1782,7 +1782,7 @@ associative?
(associative? coll)
^Boolean (associative? coll)
Returns true if coll implements Associative
- source
+ source
show types
@@ -1798,7 +1798,7 @@ atom
If metadata-map is supplied, it will become the metadata on the
atom.
- source
+ source
show types
@@ -1808,7 +1808,7 @@ bigfloat
(bigfloat x)
^BigFloat (bigfloat x)
Coerce to BigFloat
- source
+ source
show types
@@ -1818,7 +1818,7 @@ bigfloat?
(bigfloat? n)
^Boolean (bigfloat? n)
Returns true if n is a BigFloat
- source
+ source
show types
@@ -1828,7 +1828,7 @@ bigint
(bigint x)
^BigInt (bigint x)
Coerce to BigInt
- source
+ source
show types
@@ -1844,7 +1844,7 @@ binding
re-establishes the bindings that existed before. The new bindings
are made in parallel (unlike let); all init-exprs are evaluated
before the vars are bound to their new values.
- source
+ source
@@ -1855,7 +1855,7 @@ bit-and
(bit-and x y & more)
^Int (bit-and ^Int x ^Int y & more)
Bitwise and
- source
+ source
show types
@@ -1866,7 +1866,7 @@ bit-and-not
(bit-and-not x y & more)
^Int (bit-and-not ^Int x ^Int y & more)
Bitwise and with complement
- source
+ source
show types
@@ -1876,7 +1876,7 @@ bit-clear
(bit-clear x n)
^Int (bit-clear ^Int x ^Int n)
Clear bit at index n
- source
+ source
show types
@@ -1886,7 +1886,7 @@ bit-flip
(bit-flip x n)
^Int (bit-flip ^Int x ^Int n)
Flip bit at index n
- source
+ source
show types
@@ -1896,7 +1896,7 @@ bit-not
(bit-not x)
^Int (bit-not ^Int x)
Bitwise complement
- source
+ source
show types
@@ -1907,7 +1907,7 @@ bit-or
(bit-or x y & more)
^Int (bit-or ^Int x ^Int y & more)
Bitwise or
- source
+ source
show types
@@ -1917,7 +1917,7 @@ bit-set
(bit-set x n)
^Int (bit-set ^Int x ^Int n)
Set bit at index n
- source
+ source
show types
@@ -1927,7 +1927,7 @@ bit-shift-left
(bit-shift-left x n)
^Int (bit-shift-left ^Int x ^Int n)
Bitwise shift left
- source
+ source
show types
@@ -1937,7 +1937,7 @@ bit-shift-right
(bit-shift-right x n)
^Int (bit-shift-right ^Int x ^Int n)
Bitwise shift right
- source
+ source
show types
@@ -1947,7 +1947,7 @@ bit-test
(bit-test x n)
^Boolean (bit-test ^Int x ^Int n)
Test bit at index n
- source
+ source
show types
@@ -1958,7 +1958,7 @@ bit-xor
(bit-xor x y & more)
^Int (bit-xor ^Int x ^Int y & more)
Bitwise exclusive or
- source
+ source
show types
@@ -1968,7 +1968,7 @@ boolean
(boolean x)
^Boolean (boolean x)
Coerce to boolean
- source
+ source
show types
@@ -1989,7 +1989,7 @@ bound?
Returns true if all of the vars provided as arguments have any bound value.
Implies that deref'ing the provided vars will succeed. Returns true if no vars are provided.
- source
+ source
show types
@@ -2000,7 +2000,7 @@ bounded-count
If coll is counted? returns its count, else will count at most the first n
elements of coll using its seq
- source
+ source
show types
@@ -2021,7 +2021,7 @@ callable?
Returns true if x implements Callable. Note that many data structures
(e.g. sets and maps) implement Callable.
- source
+ source
show types
@@ -2043,7 +2043,7 @@ case
default expression can follow the clauses, and its value will be
returned if no clause matches. If no default expression is provided
and no clause matches, an exception is thrown.
- source
+ source
@@ -2064,7 +2064,7 @@ chan
(chan n)
^Channel (chan ^Int n)
Returns a new channel with an optional buffer of size n.
- source
+ source
show types
@@ -2074,7 +2074,7 @@ char
(char x)
^Char (char x)
Coerce to char
- source
+ source
show types
@@ -2104,7 +2104,7 @@ class
(class x)
^Type (class x)
Returns the Type of x.
- source
+ source
show types
@@ -2121,7 +2121,7 @@ close!
Logically closing happens after all puts have been delivered. Therefore, any
blocked puts will remain blocked until a taker releases them.
- source
+ source
show types
@@ -2131,7 +2131,7 @@ coll?
(coll? x)
^Boolean (coll? x)
Returns true if x implements Collection
- source
+ source
show types
@@ -2141,7 +2141,7 @@
(comment & body)
Ignores body, yields nil
- source
+ source
@@ -2158,7 +2158,7 @@ comp
of those fns. The returned fn takes a variable number of args,
applies the rightmost of fns to the args, the next
fn (right-to-left) to the result, etc.
- source
+ source
show types
@@ -2182,7 +2182,7 @@ complement
Takes a fn f and returns a fn that takes the same arguments as f,
has the same effects, if any, and returns the opposite truth value.
- source
+ source
show types
@@ -2221,7 +2221,7 @@ cond->
through each form for which the corresponding test
expression is true. Note that, unlike cond branching, cond-> threading does
not short circuit after the first true test expression.
- source
+ source
@@ -2234,7 +2234,7 @@ cond->>
through each form for which the corresponding test expression
is true. Note that, unlike cond branching, cond->> threading does not short circuit
after the first true test expression.
- source
+ source
@@ -2261,7 +2261,7 @@ condp
and its value will be returned if no clause matches. If no default
expression is provided and no clause matches, an
exception is thrown.
- source
+ source
@@ -2295,7 +2295,7 @@ constantly
(constantly x)
^Fn (constantly x)
Returns a function that takes any number of arguments and returns x.
- source
+ source
show types
@@ -2309,7 +2309,7 @@ contains?
vectors, this tests if the numeric key is within the
range of indexes. 'contains?' operates constant or logarithmic time;
it will not perform a linear search for a value. See also 'some'.
- source
+ source
show types
@@ -2330,7 +2330,7 @@ counted?
(counted? coll)
^Boolean (counted? coll)
Returns true if coll implements count in constant time
- source
+ source
show types
@@ -2342,7 +2342,7 @@ create-ns
Create a new namespace named by the symbol if one doesn't already
exist, returns it or the already-existing namespace of the same
name.
- source
+ source
show types
@@ -2352,7 +2352,7 @@ cycle
(cycle coll)
^Seq (cycle ^Seqable coll)
Returns a lazy (infinite!) sequence of repetitions of the items in coll.
- source
+ source
show types
@@ -2363,7 +2363,7 @@ dec
Returns a number one less than num. Does not auto-promote
ints, will overflow. See also: dec'
- source
+ source
show types
@@ -2374,7 +2374,7 @@ dec'
Returns a number one less than num. Supports arbitrary precision.
See also: dec
- source
+ source
show types
@@ -2384,7 +2384,7 @@ declare
(declare & names)
defs the supplied var names with no bindings, useful for making forward declarations.
- source
+ source
@@ -2394,7 +2394,7 @@ dedupe
(dedupe coll)
^Seq (dedupe ^Seqable coll)
Returns a lazy sequence removing consecutive duplicates in coll.
- source
+ source
show types
@@ -2417,7 +2417,7 @@ defmethod
(defmethod multifn dispatch-val & fn-tail)
Creates and installs a new method of multimethod associated with dispatch-value.
- source
+ source
@@ -2448,7 +2448,7 @@ defmulti
Multimethods expect the value of the hierarchy option to be supplied as
a reference type e.g. a var (i.e. via the Var-quote dispatch macro #'
or the var special form).
- source
+ source
@@ -2472,7 +2472,7 @@ defn-
(defn- name & decls)
same as defn, yielding non-public def
- source
+ source
@@ -2483,7 +2483,7 @@ defonce
defs name to have the value of the expr if the named var is not bound,
else expr is unevaluated
- source
+ source
@@ -2516,7 +2516,7 @@ denominator
(denominator r)
^Number (denominator ^Ratio r)
Returns the denominator part of a Ratio.
- source
+ source
show types
@@ -2528,7 +2528,7 @@ deref
Also reader macro: @var/@atom/@delay. When applied to a var or atom,
returns its current state. When applied to a delay, forces
it if not already forced.
- source
+ source
show types
@@ -2541,7 +2541,7 @@ disj
disj[oin]. Returns a new set of the same (hashed/sorted) type, that
does not contain key(s).
- source
+ source
show types
@@ -2554,7 +2554,7 @@ dissoc
dissoc[iate]. Returns a new map of the same (hashed/sorted) type,
that does not contain a mapping for key(s).
- source
+ source
show types
@@ -2564,7 +2564,7 @@ distinct
(distinct coll)
^Seq (distinct ^Seqable coll)
Returns a lazy sequence of the elements of coll with duplicates removed.
- source
+ source
show types
@@ -2576,7 +2576,7 @@ distinct?
(distinct? x y & more)
^Boolean (distinct? x y & more)
Returns true if no two of the arguments are =
- source
+ source
show types
@@ -2592,7 +2592,7 @@ doall
be used to force any effects. Walks through the successive nexts of
the seq, retains the head and returns it, thus causing the entire
seq to reside in memory at one time.
- source
+ source
show types
@@ -2607,7 +2607,7 @@ dorun
element in the seq do not occur until the seq is consumed. dorun can
be used to force any effects. Walks through the successive nexts of
the seq, does not retain the head and returns nil.
- source
+ source
show types
@@ -2619,7 +2619,7 @@ doseq
Repeatedly executes body (presumably for side-effects) with
bindings and filtering as provided by "for". Does not retain
the head of the sequence. Returns nil.
- source
+ source
@@ -2632,7 +2632,7 @@ dotimes
Repeatedly executes body (presumably for side-effects) with name
bound to integers from 0 through n-1.
- source
+ source
@@ -2644,7 +2644,7 @@ doto
Evaluates x then calls all of the methods and functions with the
value of x supplied at the front of the given arguments. The forms
are evaluated in order. Returns x.
- source
+ source
@@ -2654,7 +2654,7 @@ double
(double x)
^Double (double ^Number x)
Coerce to double
- source
+ source
show types
@@ -2664,7 +2664,7 @@ double?
(double? x)
^Boolean (double? x)
Return true if x is a Double
- source
+ source
show types
@@ -2674,7 +2674,7 @@ drop
(drop n coll)
^Seq (drop ^Number n ^Seqable coll)
Returns a lazy sequence of all but the first n items in coll.
- source
+ source
show types
@@ -2685,7 +2685,7 @@ drop-last
(drop-last n s)
^Seq (drop-last ^Number n ^Seqable s)
Return a lazy sequence of all but the last n (default 1) items in coll
- source
+ source
show types
@@ -2696,7 +2696,7 @@ drop-while
Returns a lazy sequence of the items in coll starting from the first
item for which (pred item) returns logical false.
- source
+ source
show types
@@ -2706,7 +2706,7 @@ empty
(empty coll)
^Collection (empty coll)
Returns an empty collection of the same category as coll, or nil
- source
+ source
show types
@@ -2717,7 +2717,7 @@ empty?
Returns true if coll has no items - same as (not (seq coll)).
Please use the idiom (seq x) rather than (not (empty? x))
- source
+ source
show types
@@ -2727,7 +2727,7 @@ eval
(eval form)
Evaluates the form data structure (not text!) and returns the result.
- source
+ source
@@ -2737,7 +2737,7 @@ even?
(even? n)
^Boolean (even? n)
Returns true if n is even, throws an exception if n is not an integer
- source
+ source
show types
@@ -2753,7 +2753,7 @@ every-pred
composing predicates return a logical true value against all of its arguments, else it returns
false. Note that f is short-circuiting in that it will stop execution on the first
argument that triggers a logical false result against the original predicates.
- source
+ source
show types
@@ -2764,7 +2764,7 @@ every?
Returns true if (pred x) is logical true for every x in coll, else
false.
- source
+ source
show types
@@ -2775,7 +2775,7 @@ ex-cause
Returns the cause of ex if ex is an ExInfo.
Otherwise returns nil.
- source
+ source
show types
@@ -2786,7 +2786,7 @@ ex-data
Returns exception data (a map) if ex is an ExInfo.
Otherwise returns nil.
- source
+ source
show types
@@ -2808,7 +2808,7 @@ ex-message
Returns the message attached to ex if ex is an ExInfo.
Otherwise returns nil.
- source
+ source
show types
@@ -2819,7 +2819,7 @@ exit
(exit code)
(exit ^Int code)
Causes the current program to exit with the given status code (defaults to 0).
- source
+ source
show types
@@ -2850,18 +2850,18 @@ filter
Returns a lazy sequence of the items in coll for which
(pred item) returns true. pred must be free of side-effects.
- source
+ source
show types
filterv
Function
v1.0
- (filterv pred coll)
^Vector (filterv ^Callable pred coll)
+ (filterv pred coll)
^Vec (filterv ^Callable pred coll)
Returns a vector of the items in coll for which
(pred item) returns true. pred must be free of side-effects.
- source
+ source
show types
@@ -2871,7 +2871,7 @@ find
(find map key)
(find ^Associative map key)
Returns the map entry for key, or nil if key not present.
- source
+ source
show types
@@ -2881,7 +2881,7 @@ find-ns
(find-ns sym)
^Namespace (find-ns ^Symbol sym)
Returns the namespace named by the symbol or nil if it doesn't exist.
- source
+ source
show types
@@ -2892,7 +2892,7 @@ find-var
Returns the global var named by the namespace-qualified symbol, or
nil if no var with that name.
- source
+ source
show types
@@ -2915,7 +2915,7 @@ flatten
Takes any nested combination of sequential things (lists, vectors,
etc.) and returns their contents as a single, flat sequence.
(flatten nil) returns an empty sequence.
- source
+ source
show types
@@ -2925,7 +2925,7 @@ float?
(float? n)
^Boolean (float? n)
Returns true if n is a floating point number
- source
+ source
show types
@@ -2936,7 +2936,7 @@ flush
Flushes the output stream that is the current value of
*out*
- source
+ source
show types
@@ -2952,7 +2952,7 @@
name => symbol
Defines a function
- source
+ source
@@ -2962,7 +2962,7 @@ fn?
(fn? x)
^Boolean (fn? x)
Returns true if x is Fn, i.e. is an object created via fn.
- source
+ source
show types
@@ -2988,7 +2988,7 @@ fnil
versions can replace arguments in the second and third
positions (y, z). Note that the function f can take any number of
arguments, not just the one(s) being nil-patched.
- source
+ source
show types
@@ -3006,7 +3006,7 @@ for
:while test, :when test.
(take 100 (for [x (range 100000000) y (range 1000000) :while (< y x)] [x y]))
- source
+ source
@@ -3026,7 +3026,7 @@
(format fmt & args)
^String (format ^String fmt & args)
Formats a string using fmt.Sprintf
- source
+ source
show types
@@ -3037,7 +3037,7 @@ frequencies
Returns a map from distinct items in coll to the number of times
they appear.
- source
+ source
show types
@@ -3061,7 +3061,7 @@ get
(get map key not-found)
Returns the value mapped to key, not-found or nil if key not present.
- source
+ source
@@ -3074,7 +3074,7 @@ get-in
Returns the value in a nested associative structure,
where ks is a sequence of keys. Returns nil if the key
is not present, or the not-found value if supplied.
- source
+ source
show types
@@ -3085,7 +3085,7 @@ get-method
Given a multimethod and a dispatch value, returns the dispatch fn
that would apply to that value, or nil if none apply and no default
- source
+ source
show types
@@ -3107,7 +3107,7 @@ go
So using goroutines only makes sense if you do I/O (specifically, calling the above functions)
inside them. Also, note that a goroutine may never have a chance to run if the root goroutine
(or another goroutine) doesn't do any I/O or channel operations (<! or >!).
- source
+ source
@@ -3119,7 +3119,7 @@ group-by
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 of the
corresponding elements, in the order they appeared in coll.
- source
+ source
show types
@@ -3129,7 +3129,7 @@ hash
(hash x)
^Int (hash x)
Returns the hash code of its argument.
- source
+ source
show types
@@ -3162,7 +3162,7 @@ ident?
(ident? x)
^Boolean (ident? x)
Return true if x is a symbol or keyword
- source
+ source
show types
@@ -3182,7 +3182,7 @@ identity
(identity x)
Returns its argument.
- source
+ source
@@ -3196,7 +3196,7 @@ if-let
If test is true, evaluates then with binding-form bound to the value of
test, if not, yields else
- source
+ source
@@ -3222,7 +3222,7 @@ if-some
If test is not nil, evaluates then with binding-form bound to the
value of test, if not, yields else
- source
+ source
@@ -3232,7 +3232,7 @@ in-ns
(in-ns name)
^Namespace (in-ns ^Symbol name)
Sets *ns* to the namespace named by the symbol, creating it if needed.
- source
+ source
show types
@@ -3264,7 +3264,7 @@ indexed?
(indexed? coll)
^Boolean (indexed? coll)
Return true if coll implements Indexed, indicating efficient lookup by index
- source
+ source
show types
@@ -3295,7 +3295,7 @@ int?
(int? x)
^Boolean (int? x)
Return true if x is a fixed precision integer
- source
+ source
show types
@@ -3305,7 +3305,7 @@ integer?
(integer? n)
^Boolean (integer? n)
Returns true if n is an integer
- source
+ source
show types
@@ -3318,7 +3318,7 @@ interleave
(interleave c1 c2 & colls)
^Seq (interleave ^Seqable c1 ^Seqable c2 & colls)
Returns a lazy seq of the first item in each coll, then the second etc.
- source
+ source
show types
@@ -3332,7 +3332,7 @@ intern
ns (which can be a symbol or a namespace), setting its root binding
to val if supplied. The namespace must exist. The var will adopt any
metadata from the name symbol. Returns the var.
- source
+ source
show types
@@ -3343,7 +3343,7 @@ interpose
Returns a lazy seq of the elements of coll separated by sep.
Returns a stateful transducer when no collection is provided.
- source
+ source
show types
@@ -3354,7 +3354,7 @@ into
Returns a new coll consisting of to-coll with all of the items of
from-coll conjoined.
- source
+ source
@@ -3364,7 +3364,7 @@ iterate
(iterate f x)
^Seq (iterate ^Callable f x)
Returns a lazy sequence of x, (f x), (f (f x)) etc. f must be free of side-effects
- source
+ source
show types
@@ -3374,7 +3374,7 @@ joker-version
(joker-version)
^String (joker-version)
Returns joker version as a printable string.
- source
+ source
show types
@@ -3391,7 +3391,7 @@ juxt
returns a vector containing the result of applying each fn to the
args (left-to-right).
((juxt a b c) x) => [(a x) (b x) (c x)]
- source
+ source
show types
@@ -3403,7 +3403,7 @@ keep
Returns a lazy sequence of the non-nil results of (f item). Note,
this means false return values will be included. f must be free of
side-effects.
- source
+ source
show types
@@ -3415,7 +3415,7 @@ keep-indexed
Returns a lazy sequence of the non-nil results of (f index item). Note,
this means false return values will be included. f must be free of
side-effects.
- source
+ source
show types
@@ -3425,7 +3425,7 @@ key
(key e)
Returns the key of the map entry.
- source
+ source
@@ -3435,7 +3435,7 @@ keys
(keys map)
^Seq (keys ^Map map)
Returns a sequence of the map's keys, in the same order as (seq map).
- source
+ source
show types
@@ -3481,7 +3481,7 @@ lazy-cat
needed.
(lazy-cat xs ys zs) === (concat (lazy-seq xs) (lazy-seq ys) (lazy-seq zs))
- source
+ source
@@ -3508,7 +3508,7 @@
Evaluates the exprs in a lexical context in which the symbols in
the binding-forms are bound to their respective init-exprs or parts
therein.
- source
+ source
@@ -3522,7 +3522,7 @@
Takes a vector of function specs and a body, and generates a set of
bindings of functions to their names. All of the names are available
in all of the definitions of the functions, as well as the body.
- source
+ source
@@ -3533,7 +3533,7 @@ line-seq
Returns the lines of text from rdr as a lazy sequence of strings.
rdr must be File or BufferedReader.
- source
+ source
@@ -3568,7 +3568,7 @@ list?
(list? x)
^Boolean (list? x)
Returns true if x is a List
- source
+ source
show types
@@ -3579,7 +3579,7 @@ load
Loads code from libs, throwing error if cyclic dependency detected,
and ignoring libs already being loaded.
- source
+ source
show types
@@ -3589,7 +3589,7 @@ load-file
(load-file f)
^Nil (load-file ^String f)
Loads code from file f. Does not protect against recursion.
- source
+ source
show types
@@ -3600,7 +3600,7 @@ load-string
Sequentially read and evaluate the set of forms contained in the
string
- source
+ source
show types
@@ -3610,7 +3610,7 @@ loaded-libs
(loaded-libs)
^MapSet (loaded-libs)
Returns an UNSORTED set of symbols naming the currently loaded libs
- source
+ source
show types
@@ -3622,7 +3622,7 @@
Evaluates the exprs in a lexical context in which the symbols in
the binding-forms are bound to their respective init-exprs or parts
therein. Acts as a recur target.
- source
+ source
@@ -3634,7 +3634,7 @@ macroexpand
Repeatedly calls macroexpand-1 on form until it no longer
represents a macro form, then returns it. Note neither
macroexpand-1 nor macroexpand expand macros in subforms.
- source
+ source
@@ -3644,7 +3644,7 @@ macroexpand-1
(macroexpand-1 form)
If form represents a macro form, returns its expansion, else returns form.
- source
+ source
@@ -3661,7 +3661,7 @@ map
of second items in each coll, until any one of the colls is
exhausted. Any remaining items in other colls are ignored. Function
f should accept number-of-colls arguments.
- source
+ source
show types
@@ -3674,7 +3674,7 @@ map-indexed
and the first item of coll, followed by applying f to 1 and the second
item in coll, etc, until coll is exhausted. Thus function f should
accept 2 arguments, index and item.
- source
+ source
show types
@@ -3695,24 +3695,24 @@ mapcat
Returns the result of applying concat to the result of applying map
to f and colls. Thus function f should return a collection.
- source
+ source
show types
mapv
Function
v1.0
- (mapv f coll)
^Vector (mapv ^Callable f coll)
-(mapv f c1 c2)
^Vector (mapv ^Callable f c1 c2)
-(mapv f c1 c2 c3)
^Vector (mapv ^Callable f c1 c2 c3)
-(mapv f c1 c2 c3 & colls)
^Vector (mapv ^Callable f c1 c2 c3 & colls)
+ (mapv f coll)
^Vec (mapv ^Callable f coll)
+(mapv f c1 c2)
^Vec (mapv ^Callable f c1 c2)
+(mapv f c1 c2 c3)
^Vec (mapv ^Callable f c1 c2 c3)
+(mapv f c1 c2 c3 & colls)
^Vec (mapv ^Callable f c1 c2 c3 & colls)
Returns a vector consisting of the result of applying f to the
set of first items of each coll, followed by applying f to the set
of second items in each coll, until any one of the colls is
exhausted. Any remaining items in other colls are ignored. Function
f should accept number-of-colls arguments.
- source
+ source
show types
@@ -3724,7 +3724,7 @@ max
(max x y & more)
^Number (max ^Number x ^Number y & more)
Returns the greatest of the nums.
- source
+ source
show types
@@ -3736,7 +3736,7 @@ max-key
(max-key k x y & more)
(max-key ^Callable k x y & more)
Returns the x for which (k x), a number, is greatest.
- source
+ source
show types
@@ -3749,7 +3749,7 @@ memoize
memoized version of the function keeps a cache of the mapping from arguments
to results and, when calls with the same arguments are repeated often, has
higher performance at the expense of higher memory use.
- source
+ source
show types
@@ -3761,7 +3761,7 @@ merge
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 mapping from
the latter (left-to-right) will be the mapping in the result.
- source
+ source
show types
@@ -3774,7 +3774,7 @@ merge-with
the first. If a key occurs in more than one map, the mapping(s)
from the latter (left-to-right) will be combined with the mapping in
the result by calling (f val-in-result val-in-latter).
- source
+ source
show types
@@ -3794,7 +3794,7 @@ methods
(methods multifn)
^Map (methods multifn)
Given a multimethod, returns a map of dispatch values -> dispatch fns
- source
+ source
show types
@@ -3806,7 +3806,7 @@ min
(min x y & more)
^Number (min ^Number x ^Number y & more)
Returns the least of the nums.
- source
+ source
show types
@@ -3818,7 +3818,7 @@ min-key
(min-key k x y & more)
(min-key ^Callable k x y & more)
Returns the x for which (k x), a number, is least.
- source
+ source
show types
@@ -3828,7 +3828,7 @@ mod
(mod num div)
^Number (mod ^Number num ^Number div)
Modulus of num and div. Truncates toward negative infinity.
- source
+ source
show types
@@ -3838,7 +3838,7 @@ name
(name x)
^String (name x)
Returns the name String of a string, symbol, keyword or any Named object (e.g. File).
- source
+ source
show types
@@ -3848,7 +3848,7 @@ namespace
(namespace x)
^String (namespace ^Named x)
Returns the namespace String of a symbol or keyword, or nil if not present.
- source
+ source
show types
@@ -3858,7 +3858,7 @@ nat-int?
(nat-int? x)
^Boolean (nat-int? x)
Return true if x is a non-negative fixed precision integer
- source
+ source
show types
@@ -3868,7 +3868,7 @@ neg-int?
(neg-int? x)
^Boolean (neg-int? x)
Return true if x is a negative fixed precision integer
- source
+ source
show types
@@ -3878,7 +3878,7 @@ neg?
(neg? x)
^Boolean (neg? ^Number x)
Returns true if num is less than zero, else false
- source
+ source
show types
@@ -3888,7 +3888,7 @@ newline
(newline)
^Nil (newline)
Writes a platform-specific newline to *out*
- source
+ source
show types
@@ -3950,7 +3950,7 @@ not-any?
Returns false if (pred x) is logical true for any x in coll,
else true.
- source
+ source
@@ -3960,7 +3960,7 @@ not-empty
(not-empty coll)
^Seqable (not-empty ^Seqable coll)
If coll is empty, returns nil, else coll
- source
+ source
show types
@@ -3971,7 +3971,7 @@ not-every?
Returns false if (pred x) is logical true for every x in
coll, else true.
- source
+ source
@@ -4003,7 +4003,7 @@ ns
(ns foo.bar
(:require [my.lib1 :as lib1])
(:use [my.lib2]))
- source
+ source
@@ -4013,7 +4013,7 @@ ns-aliases
(ns-aliases ns)
^Map (ns-aliases ns)
Returns a map of the aliases for the namespace.
- source
+ source
show types
@@ -4023,7 +4023,7 @@ ns-interns
(ns-interns ns)
^Map (ns-interns ns)
Returns a map of the intern mappings for the namespace.
- source
+ source
show types
@@ -4033,7 +4033,7 @@ ns-map
(ns-map ns)
^Map (ns-map ns)
Returns a map of all the mappings for the namespace.
- source
+ source
show types
@@ -4043,7 +4043,7 @@ ns-name
(ns-name ns)
^Symbol (ns-name ns)
Returns the name of the namespace, a symbol.
- source
+ source
show types
@@ -4053,7 +4053,7 @@ ns-publics
(ns-publics ns)
^Map (ns-publics ns)
Returns a map of the public intern mappings for the namespace.
- source
+ source
show types
@@ -4063,7 +4063,7 @@ ns-refers
(ns-refers ns)
^Map (ns-refers ns)
Returns a map of the refer mappings for the namespace.
- source
+ source
show types
@@ -4077,7 +4077,7 @@ ns-resolve
namespace (unless found in the environment), else nil. Note that
if the symbol is fully qualified, the var/Type to which it resolves
need not be present in the namespace.
- source
+ source
show types
@@ -4097,7 +4097,7 @@ ns-sources
value is the URL of the resource. Only http:// and https:// are
currently supported; everything else is treated as a local
pathname. HTTP URLs are cached in $HOME/.jokerd/deps/.
- source
+ source
show types
@@ -4107,7 +4107,7 @@ ns-unalias
(ns-unalias ns sym)
^Nil (ns-unalias ns ^Symbol sym)
Removes the alias for the symbol from the namespace.
- source
+ source
show types
@@ -4117,7 +4117,7 @@ ns-unmap
(ns-unmap ns sym)
^Nil (ns-unmap ns ^Symbol sym)
Removes the mappings for the symbol from the namespace.
- source
+ source
show types
@@ -4140,7 +4140,7 @@ nthnext
(nthnext coll n)
^Seq (nthnext ^Seqable coll ^Number n)
Returns the nth next of coll, (seq coll) when n is 0.
- source
+ source
show types
@@ -4150,7 +4150,7 @@ nthrest
(nthrest coll n)
^Seq (nthrest ^Seqable coll ^Number n)
Returns the nth rest of coll, coll when n is 0.
- source
+ source
show types
@@ -4160,7 +4160,7 @@ num
(num x)
^Number (num ^Number x)
Coerce to Number
- source
+ source
show types
@@ -4170,7 +4170,7 @@ number?
(number? x)
^Boolean (number? x)
Returns true if x is a Number
- source
+ source
show types
@@ -4180,7 +4180,7 @@ numerator
(numerator r)
^Number (numerator ^Ratio r)
Returns the numerator part of a Ratio.
- source
+ source
show types
@@ -4190,7 +4190,7 @@ odd?
(odd? n)
^Boolean (odd? n)
Returns true if n is odd, throws an exception if n is not an integer
- source
+ source
show types
@@ -4221,7 +4221,7 @@ partial
Takes a function f and fewer than the normal arguments to f, and
returns a fn that takes a variable number of additional args. When
called, the returned function calls f with args + additional args.
- source
+ source
show types
@@ -4237,7 +4237,7 @@ partition
do not overlap. If a pad collection is supplied, use its elements as
necessary to complete last partition upto n items. In case there are
not enough padding elements, return a partition with less than n items.
- source
+ source
show types
@@ -4249,7 +4249,7 @@ partition-all
Returns a lazy sequence of lists like partition, but may include
partitions with fewer than n items at the end.
- source
+ source
show types
@@ -4260,7 +4260,7 @@ partition-by
Applies f to each value in coll, splitting it each time f returns a
new value. Returns a lazy seq of partitions.
- source
+ source
show types
@@ -4271,7 +4271,7 @@ peek
For a list, same as first, for a vector, same as, but much
more efficient than, last. If the collection is empty, returns nil.
- source
+ source
show types
@@ -4284,7 +4284,7 @@ pop
item, for a vector, returns a new vector without the last item. If
the collection is empty, throws an exception. Note - not the same
as next/butlast.
- source
+ source
show types
@@ -4294,7 +4294,7 @@ pos-int?
(pos-int? x)
^Boolean (pos-int? x)
Return true if x is a positive fixed precision integer
- source
+ source
show types
@@ -4304,7 +4304,7 @@ pos?
(pos? x)
^Boolean (pos? ^Number x)
Returns true if num is greater than zero, else false
- source
+ source
show types
@@ -4314,7 +4314,7 @@ pprint
(pprint x)
^Nil (pprint x)
Pretty prints x to the output stream that is the current value of *out*.
- source
+ source
show types
@@ -4327,7 +4327,7 @@ pr
of *out*. Prints the object(s), separated by spaces if there is
more than one. By default, pr and prn print in a way that objects
can be read by the reader
- source
+ source
@@ -4337,7 +4337,7 @@ pr-err
(pr-err & xs)
^Nil (pr-err & xs)
pr to *err*
- source
+ source
show types
@@ -4347,7 +4347,7 @@ pr-str
(pr-str & xs)
^String (pr-str & xs)
pr to a string, returning it
- source
+ source
show types
@@ -4358,7 +4358,7 @@ prefer-method
Causes the multimethod to prefer matches of dispatch-val-x over dispatch-val-y
when there is a conflict
- source
+ source
@@ -4368,7 +4368,7 @@ prefers
(prefers multifn)
^Map (prefers multifn)
Given a multimethod, returns a map of preferred value -> set of other values
- source
+ source
show types
@@ -4379,7 +4379,7 @@ print
Prints the object(s) to the output stream that is the current value
of *out*. print and println produce output for human consumption.
- source
+ source
show types
@@ -4389,7 +4389,7 @@ print-err
(print-err & xs)
^Nil (print-err & xs)
print to *err*
- source
+ source
show types
@@ -4399,7 +4399,7 @@ print-str
(print-str & xs)
^String (print-str & xs)
print to a string, returning it
- source
+ source
show types
@@ -4409,7 +4409,7 @@ printf
(printf fmt & args)
^Nil (printf ^String fmt & args)
Prints formatted output, as per format
- source
+ source
show types
@@ -4419,7 +4419,7 @@ println
(println & more)
^Nil (println & more)
Same as print followed by (newline)
- source
+ source
show types
@@ -4429,7 +4429,7 @@ println-err
(println-err & xs)
^Nil (println-err & xs)
println to *err*
- source
+ source
show types
@@ -4439,7 +4439,7 @@ println-str
(println-str & xs)
^String (println-str & xs)
println to a string, returning it
- source
+ source
show types
@@ -4449,7 +4449,7 @@ prn
(prn & more)
^Nil (prn & more)
Same as pr followed by (newline). Observes *flush-on-newline*
- source
+ source
show types
@@ -4459,7 +4459,7 @@ prn-err
(prn-err & xs)
^Nil (prn-err & xs)
prn to *err*
- source
+ source
show types
@@ -4469,7 +4469,7 @@ prn-str
(prn-str & xs)
^String (prn-str & xs)
prn to a string, returning it
- source
+ source
show types
@@ -4479,7 +4479,7 @@ qualified-ident?
(qualified-ident? x)
^Boolean (qualified-ident? x)
Return true if x is a symbol or keyword with a namespace
- source
+ source
show types
@@ -4489,7 +4489,7 @@ qualified-keyword?
(qualified-keyword? x)
^Boolean (qualified-keyword? x)
Return true if x is a keyword with a namespace
- source
+ source
show types
@@ -4499,7 +4499,7 @@ qualified-symbol?
(qualified-symbol? x)
^Boolean (qualified-symbol? x)
Return true if x is a symbol with a namespace
- source
+ source
show types
@@ -4509,7 +4509,7 @@ quot
(quot num div)
^Number (quot ^Number num ^Number div)
quot[ient] of dividing numerator by denominator.
- source
+ source
show types
@@ -4521,7 +4521,7 @@ rand
Returns a random floating point number between 0 (inclusive) and
n (default 1) (exclusive).
- source
+ source
show types
@@ -4531,7 +4531,7 @@ rand-int
(rand-int n)
^Int (rand-int ^Number n)
Returns a random integer between 0 (inclusive) and n (exclusive).
- source
+ source
show types
@@ -4543,7 +4543,7 @@ rand-nth
Return a random element of the (sequential) collection. Will have
the same performance characteristics as nth for the given
collection.
- source
+ source
@@ -4554,7 +4554,7 @@ random-sample
Returns items from coll with random probability of prob (0.0 -
1.0).
- source
+ source
show types
@@ -4570,7 +4570,7 @@ range
(exclusive), by step, where start defaults to 0, step to 1, and end to
infinity. When step is equal to 0, returns an infinite sequence of
start. When start is equal to end, returns empty list.
- source
+ source
show types
@@ -4580,7 +4580,7 @@ ratio?
(ratio? n)
^Boolean (ratio? n)
Returns true if n is a Ratio
- source
+ source
show types
@@ -4590,7 +4590,7 @@ rational?
(rational? n)
^Boolean (rational? n)
Returns true if n is a rational number
- source
+ source
show types
@@ -4600,7 +4600,7 @@ re-find
(re-find re s)
(re-find ^Regex re ^String s)
Returns the leftmost regex match, if any, of string to pattern.
- source
+ source
show types
@@ -4610,7 +4610,7 @@ re-matches
(re-matches re s)
(re-matches ^Regex re ^String s)
Returns the match, if any, of string to pattern.
- source
+ source
show types
@@ -4620,7 +4620,7 @@ re-pattern
(re-pattern s)
^Regex (re-pattern s)
Returns an instance of Regex
- source
+ source
show types
@@ -4630,7 +4630,7 @@ re-seq
(re-seq re s)
^Seq (re-seq ^Regex re ^String s)
Returns a sequence of successive matches of pattern in string
- source
+ source
show types
@@ -4641,7 +4641,7 @@ read
(read reader)
Reads the next object from reader (defaults to *in*)
- source
+ source
@@ -4651,7 +4651,7 @@ read-line
(read-line)
Reads the next line from *in*. Returns nil if an error (such as EOF) is detected.
- source
+ source
@@ -4661,7 +4661,7 @@ read-string
(read-string s)
Reads one object from the string s.
- source
+ source
@@ -4671,7 +4671,7 @@ realized?
(realized? x)
^Boolean (realized? ^Pending x)
Returns true if a value has been produced for a delay or lazy sequence.
- source
+ source
show types
@@ -4705,7 +4705,7 @@ reduce-kv
2nd key and value, etc. If coll contains no entries, returns init
and f is not called. Note that reduce-kv is supported on vectors,
where the keys will be the ordinals.
- source
+ source
show types
@@ -4717,7 +4717,7 @@ reductions
Returns a lazy seq of the intermediate values of the reduction (as
per reduce) of coll by f, starting with init.
- source
+ source
show types
@@ -4740,7 +4740,7 @@ refer
select a subset, via inclusion or exclusion, or to provide a mapping
to a symbol different from the var's name, in order to prevent
clashes. Use :use in the ns macro in preference to calling this directly.
- source
+ source
show types
@@ -4750,7 +4750,7 @@ refer-clojure
(refer-clojure & filters)
Same as (refer 'joker.core <filters>)
- source
+ source
@@ -4760,7 +4760,7 @@ rem
(rem num div)
^Number (rem ^Number num ^Number div)
remainder of dividing numerator by denominator.
- source
+ source
show types
@@ -4771,7 +4771,7 @@ remove
Returns a lazy sequence of the items in coll for which
(pred item) returns false. pred must be free of side-effects.
- source
+ source
show types
@@ -4781,7 +4781,7 @@ remove-all-methods
(remove-all-methods multifn)
Removes all of the methods of multimethod.
- source
+ source
@@ -4791,7 +4791,7 @@ remove-method
(remove-method multifn dispatch-val)
Removes the method of multimethod associated with dispatch-value.
- source
+ source
@@ -4802,7 +4802,7 @@ remove-ns
Removes the namespace named by the symbol. Use with caution.
Cannot be used to remove the clojure namespace.
- source
+ source
show types
@@ -4813,7 +4813,7 @@ repeat
(repeat n x)
^Seq (repeat ^Number n x)
Returns a lazy (infinite!, or length n if supplied) sequence of xs.
- source
+ source
show types
@@ -4826,7 +4826,7 @@ repeatedly
Takes a function of no args, presumably with side effects, and
returns an infinite (or length n if supplied) lazy sequence of calls
to it
- source
+ source
show types
@@ -4838,7 +4838,7 @@ replace
Given a map of replacement pairs and a vector/collection, returns a
vector/seq with any elements = a key in smap replaced with the
corresponding val in smap.
- source
+ source
show types
@@ -4908,7 +4908,7 @@ require
abbreviated as 's'.
(require '(clojure zip [set :as s]))
- source
+ source
show types
@@ -4919,7 +4919,7 @@ requiring-resolve
Resolves namespace-qualified sym per 'resolve'. If initial resolve
fails, attempts to require sym's namespace and retries.
- source
+ source
show types
@@ -4930,7 +4930,7 @@ reset!
Sets the value of atom to newval without regard for the
current value. Returns newval.
- source
+ source
show types
@@ -4940,18 +4940,18 @@
(reset-meta! ref metadata-map)
(reset-meta! ^Ref ref ^Map metadata-map)
Atomically resets the metadata for a namespace/var/atom
- source
+ source
show types
reset-vals!
Function
v1.0
- (reset-vals! atom newval)
^Vector (reset-vals! ^Atom atom newval)
+ (reset-vals! atom newval)
^Vec (reset-vals! ^Atom atom newval)
Sets the value of atom to newval. Returns [old new], the value of the
atom before and after the reset.
- source
+ source
show types
@@ -4962,7 +4962,7 @@ resolve
(resolve env sym)
^Var (resolve ^Gettable env ^Symbol sym)
Same as (ns-resolve *ns* sym) or (ns-resolve *ns* env sym)
- source
+ source
show types
@@ -4983,7 +4983,7 @@ reverse
(reverse coll)
^Collection (reverse ^Seqable coll)
Returns a seq of the items in coll in reverse order. Not lazy.
- source
+ source
show types
@@ -4993,7 +4993,7 @@ reversible?
(reversible? coll)
^Boolean (reversible? coll)
Returns true if coll implements Reversible
- source
+ source
show types
@@ -5004,7 +5004,7 @@ rseq
Returns, in constant time, a seq of the items in rev (which
can be a vector or sorted-map), in reverse order. If rev is empty returns nil.
- source
+ source
show types
@@ -5015,7 +5015,7 @@ run!
Runs the supplied procedure (via reduce), for purposes of side
effects, on successive items in the collection. Returns nil.
- source
+ source
show types
@@ -5035,7 +5035,7 @@ select-keys
(select-keys map keyseq)
^Map (select-keys ^Associative map ^Seqable keyseq)
Returns a map containing only those entries in map whose key is in keys
- source
+ source
show types
@@ -5066,7 +5066,7 @@ seqable?
(seqable? x)
^Boolean (seqable? x)
Return true if the seq function is supported for x
- source
+ source
show types
@@ -5077,7 +5077,7 @@ sequence
Coerces coll to a (possibly empty) sequence, if it is not already
one. Will not force a lazy seq. (sequence nil) yields ()
- source
+ source
show types
@@ -5087,7 +5087,7 @@ sequential?
(sequential? coll)
^Boolean (sequential? coll)
Returns true if coll implements Sequential
- source
+ source
show types
@@ -5097,7 +5097,7 @@ set
(set coll)
^MapSet (set ^Seqable coll)
Returns a set of the distinct elements of coll.
- source
+ source
show types
@@ -5107,17 +5107,17 @@ set?
(set? x)
^Boolean (set? x)
Returns true if x implements Set
- source
+ source
show types
shuffle
Function
v1.0
- (shuffle coll)
^Vector (shuffle coll)
+ (shuffle coll)
^Vec (shuffle coll)
Return a random permutation of coll
- source
+ source
show types
@@ -5127,7 +5127,7 @@ simple-ident?
(simple-ident? x)
^Boolean (simple-ident? x)
Return true if x is a symbol or keyword without a namespace
- source
+ source
show types
@@ -5137,7 +5137,7 @@ simple-keyword?
(simple-keyword? x)
^Boolean (simple-keyword? x)
Return true if x is a keyword without a namespace
- source
+ source
show types
@@ -5147,7 +5147,7 @@ simple-symbol?
(simple-symbol? x)
^Boolean (simple-symbol? x)
Return true if x is a symbol without a namespace
- source
+ source
show types
@@ -5159,7 +5159,7 @@ slurp
Opens file f and reads all its contents, returning a string.
f can be a string (filename) or a reader object like *in* or
the one returned by joker.os/open.
- source
+ source
show types
@@ -5172,7 +5172,7 @@ some
else nil. One common idiom is to use a set as pred, for example
this will return :fred if :fred is in the sequence, otherwise nil:
(some #{:fred} coll)
- source
+ source
show types
@@ -5183,7 +5183,7 @@ some->
When expr is not nil, threads it into the first form (via ->),
and when that result is not nil, through the next etc.
- source
+ source
@@ -5194,7 +5194,7 @@ some->>
When expr is not nil, threads it into the first form (via ->>),
and when that result is not nil, through the next etc.
- source
+ source
@@ -5210,7 +5210,7 @@ some-fn
returned by one of its composing predicates against any of its arguments, else it returns
logical false. Note that f is short-circuiting in that it will stop execution on the first
argument that triggers a logical true result against the original predicates.
- source
+ source
show types
@@ -5232,7 +5232,7 @@ sort
Returns a sorted sequence of the items in coll. If no comparator is
supplied, uses compare.
- source
+ source
show types
@@ -5245,7 +5245,7 @@ sort-by
Returns a sorted sequence of the items in coll, where the sort
order is determined by comparing (keyfn item). If no comparator is
supplied, uses compare.
- source
+ source
show types
@@ -5255,7 +5255,7 @@ special-symbol?
(special-symbol? s)
^Boolean (special-symbol? s)
Returns true if s names a special form
- source
+ source
show types
@@ -5268,27 +5268,27 @@ spit
closes f.
f can be a string (filename) or a writer object like *out* or
the one returned by joker.os/create.
- source
+ source
show types
split-at
Function
v1.0
- (split-at n coll)
^Vector (split-at ^Number n ^Seqable coll)
+ (split-at n coll)
^Vec (split-at ^Number n ^Seqable coll)
Returns a vector of [(take n coll) (drop n coll)]
- source
+ source
show types
split-with
Function
v1.0
- (split-with pred coll)
^Vector (split-with ^Callable pred ^Seqable coll)
+ (split-with pred coll)
^Vec (split-with ^Callable pred ^Seqable coll)
Returns a vector of [(take-while pred coll) (drop-while pred coll)]
- source
+ source
show types
@@ -5322,22 +5322,22 @@ subs
Returns the substring of s beginning at start inclusive, and ending
at end (defaults to length of string), exclusive.
- source
+ source
show types
subvec
Function
v1.0
- (subvec v start)
^Vector (subvec ^Vector v ^Number start)
-(subvec v start end)
^Vector (subvec ^Vector v ^Number start ^Number end)
+ (subvec v start)
^Vec (subvec ^Vec v ^Number start)
+(subvec v start end)
^Vec (subvec ^Vec v ^Number start ^Number end)
Returns a persistent vector of the items in vector from
start (inclusive) to end (exclusive). If end is not supplied,
defaults to (count vector). This operation is O(1) and very fast, as
the resulting vector shares structure with the original and no
trimming is done.
- source
+ source
show types
@@ -5349,20 +5349,20 @@ swap!
Atomically swaps the value of atom to be:
(apply f current-value-of-atom args).
Returns the value that was swapped in.
- source
+ source
show types
swap-vals!
Function
v1.0
- (swap-vals! atom f & args)
^Vector (swap-vals! ^Atom atom ^Callable f & args)
+ (swap-vals! atom f & args)
^Vec (swap-vals! ^Atom atom ^Callable f & args)
Atomically swaps the value of atom to be:
(apply f current-value-of-atom args). Note that f may be called
multiple times, and thus should be free of side effects.
Returns [old new], the value of the atom before and after the swap.
- source
+ source
show types
@@ -5394,7 +5394,7 @@ take
Returns a lazy sequence of the first n items in coll, or all items if
there are fewer than n.
- source
+ source
show types
@@ -5405,7 +5405,7 @@ take-last
Returns a seq of the last n items in coll. Depending on the type
of coll may be no better than linear time. For vectors, see also subvec.
- source
+ source
show types
@@ -5415,7 +5415,7 @@ take-nth
(take-nth n coll)
^Seq (take-nth ^Number n ^Seqable coll)
Returns a lazy seq of every nth item in coll.
- source
+ source
show types
@@ -5426,7 +5426,7 @@ take-while
Returns a lazy sequence of successive items from coll while
(pred item) returns true. pred must be free of side-effects.
- source
+ source
show types
@@ -5437,7 +5437,7 @@ test
test [v] finds fn at key :test in var metadata and calls it,
presuming failure will throw exception
- source
+ source
show types
@@ -5449,7 +5449,7 @@ the-ns
If passed a namespace, returns it. Else, when passed a symbol,
returns the namespace named by it, throwing an exception if not
found.
- source
+ source
show types
@@ -5459,7 +5459,7 @@ time
(time expr)
Evaluates expr and prints the time it took. Returns the value of expr.
- source
+ source
@@ -5476,7 +5476,7 @@ trampoline
returns that non-fn value. Note that if you want to return a fn as a
final value, you must wrap it in some data structure and unpack it
after trampoline returns.
- source
+ source
show types
@@ -5491,7 +5491,7 @@ tree-seq
arg that returns a sequence of the children. Will only be called on
nodes for which branch? returns true. Root is the root node of the
tree.
- source
+ source
show types
@@ -5511,7 +5511,7 @@ type
(type x)
^Type (type x)
Returns the :type metadata of x, or its Type if none
- source
+ source
show types
@@ -5521,7 +5521,7 @@ unsigned-bit-shift-right
(unsigned-bit-shift-right x n)
^Int (unsigned-bit-shift-right ^Int x ^Int n)
Bitwise shift right, without sign-extension.
- source
+ source
show types
@@ -5538,7 +5538,7 @@ update
key and f is a function that will take the old value
and any supplied args and return the new value, and returns a new
structure. If the key does not exist, nil is passed as the old value.
- source
+ source
show types
@@ -5552,7 +5552,7 @@ update-in
and any supplied args and return the new value, and returns a new
nested structure. If any levels do not exist, hash-maps will be
created.
- source
+ source
show types
@@ -5566,7 +5566,7 @@ update-keys
keys are the result of applying f to the keys of m, mapped to the
corresponding values of m.
f must return a unique key for each key of m, else the behavior is undefined.
- source
+ source
show types
@@ -5578,7 +5578,7 @@ update-vals
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 to result of applying f to the corresponding values of m.
- source
+ source
show types
@@ -5594,7 +5594,7 @@ use
'use accepts additional options in libspecs: :exclude, :only, :rename.
The arguments and semantics for :exclude, :only, and :rename are the same
as those documented for joker.core/refer.
- source
+ source
show types
@@ -5604,7 +5604,7 @@ val
(val e)
Returns the value in the map entry.
- source
+ source
@@ -5614,7 +5614,7 @@ vals
(vals map)
^Seq (vals ^Map map)
Returns a sequence of the map's values, in the same order as (seq map).
- source
+ source
show types
@@ -5624,7 +5624,7 @@ var-get
(var-get x)
(var-get ^Var x)
Gets the value in the var object
- source
+ source
show types
@@ -5634,7 +5634,7 @@ var-set
(var-set x val)
(var-set ^Var x val)
Sets the value in the var object to val.
- source
+ source
show types
@@ -5644,7 +5644,7 @@ var?
(var? v)
^Boolean (var? v)
Returns true if v is of type Var
- source
+ source
show types
@@ -5672,7 +5672,7 @@ vec
vector
Function
v1.0
- (vector & args)
^Vector (vector & args)
+ (vector & args)
^Vec (vector & args)
Creates a new vector containing the args.
source
@@ -5707,7 +5707,7 @@ when-first
bindings => x xs
Roughly the same as (when (seq xs) (let [x (first xs)] body)) but xs is evaluated only once
- source
+ source
@@ -5719,7 +5719,7 @@ when-let
bindings => binding-form test
When test is true, evaluates body with binding-form bound to the value of test
- source
+ source
@@ -5742,7 +5742,7 @@ when-some
When test is not nil, evaluates body with binding-form bound to the
value of test
- source
+ source
@@ -5753,7 +5753,7 @@ while
Repeatedly executes body while test expression is true. Presumes
some side-effect will cause test to become false/nil. Returns nil
- source
+ source
@@ -5765,7 +5765,7 @@ with-bindings
Takes a map of Var/value pairs. Sets the vars to the corresponding values.
Then executes body. Resets the vars back to the original
values after body was evaluated. Returns the value of body.
- source
+ source
@@ -5777,7 +5777,7 @@ with-bindings*
Takes a map of Var/value pairs. Sets the vars to the corresponding values.
Then calls f with the supplied arguments. Resets the vars back to the original
values after f returned. Returns whatever f returns.
- source
+ source
show types
@@ -5788,7 +5788,7 @@ with-in-str
Evaluates body in a context in which *in* is bound to a fresh
Buffer initialized with the string s.
- source
+ source
@@ -5811,7 +5811,7 @@ with-out-str
Evaluates exprs in a context in which *out* is bound to a fresh
Buffer. Returns the string created by any nested printing
calls.
- source
+ source
@@ -5821,7 +5821,7 @@ with-redefs
(with-redefs bindings & body)
The same as binding
- source
+ source
@@ -5831,7 +5831,7 @@ with-redefs-fn
(with-redefs-fn binding-map f & args)
The same as with-bindings*
- source
+ source
@@ -5841,7 +5841,7 @@ xml-seq
(xml-seq root)
^Seq (xml-seq root)
A tree seq on the xml elements as per xml/parse
- source
+ source
show types
@@ -5861,7 +5861,7 @@ zipmap
(zipmap keys vals)
^Map (zipmap ^Seqable keys ^Seqable vals)
Returns a map with the keys mapped to the corresponding vals.
- source
+ source
show types
diff --git a/docs/main.js b/docs/main.js
index cd073cc51..125bbcfba 100644
--- a/docs/main.js
+++ b/docs/main.js
@@ -4,7 +4,7 @@ function toggleTypes(e) {
e.target.parentNode.querySelectorAll('code').forEach(el => el.classList.toggle('hide'));
}
-const terms = ["joker.base64/decode-string","joker.base64/encode-string","joker.better-cond/cond","joker.better-cond/if-let","joker.better-cond/if-some","joker.better-cond/when-let","joker.better-cond/when-some","joker.bolt/by-prefix","joker.bolt/close","joker.bolt/create-bucket","joker.bolt/create-bucket-if-not-exists","joker.bolt/delete","joker.bolt/delete-bucket","joker.bolt/get","joker.bolt/next-sequence","joker.bolt/open","joker.bolt/put","joker.core/*","joker.core/*'","joker.core/*1","joker.core/*2","joker.core/*3","joker.core/*assert*","joker.core/*command-line-args*","joker.core/*e","joker.core/*err*","joker.core/*file*","joker.core/*flush-on-newline*","joker.core/*in*","joker.core/*joker-version*","joker.core/*linter-config*","joker.core/*linter-mode*","joker.core/*main-file*","joker.core/*ns*","joker.core/*out*","joker.core/*print-readably*","joker.core/+","joker.core/+'","joker.core/-","joker.core/-'","joker.core/->","joker.core/->>","joker.core//","joker.core/<","joker.core/","joker.core/>!","joker.core/>=","joker.core/alias","joker.core/all-ns","joker.core/alter-meta!","joker.core/and","joker.core/any?","joker.core/apply","joker.core/array-map","joker.core/as->","joker.core/assert","joker.core/assoc","joker.core/assoc-in","joker.core/associative?","joker.core/atom","joker.core/bigfloat","joker.core/bigfloat?","joker.core/bigint","joker.core/binding","joker.core/bit-and","joker.core/bit-and-not","joker.core/bit-clear","joker.core/bit-flip","joker.core/bit-not","joker.core/bit-or","joker.core/bit-set","joker.core/bit-shift-left","joker.core/bit-shift-right","joker.core/bit-test","joker.core/bit-xor","joker.core/boolean","joker.core/boolean?","joker.core/bound?","joker.core/bounded-count","joker.core/butlast","joker.core/callable?","joker.core/case","joker.core/cast","joker.core/chan","joker.core/char","joker.core/char?","joker.core/chunked-seq?","joker.core/class","joker.core/close!","joker.core/coll?","joker.core/comment","joker.core/comp","joker.core/compare","joker.core/complement","joker.core/concat","joker.core/cond","joker.core/cond->","joker.core/cond->>","joker.core/condp","joker.core/conj","joker.core/cons","joker.core/constantly","joker.core/contains?","joker.core/count","joker.core/counted?","joker.core/create-ns","joker.core/cycle","joker.core/dec","joker.core/dec'","joker.core/declare","joker.core/dedupe","joker.core/default-data-readers","joker.core/defmacro","joker.core/defmethod","joker.core/defmulti","joker.core/defn","joker.core/defn-","joker.core/defonce","joker.core/delay","joker.core/delay?","joker.core/denominator","joker.core/deref","joker.core/disj","joker.core/dissoc","joker.core/distinct","joker.core/distinct?","joker.core/doall","joker.core/dorun","joker.core/doseq","joker.core/dotimes","joker.core/doto","joker.core/double","joker.core/double?","joker.core/drop","joker.core/drop-last","joker.core/drop-while","joker.core/empty","joker.core/empty?","joker.core/eval","joker.core/even?","joker.core/every-pred","joker.core/every?","joker.core/ex-cause","joker.core/ex-data","joker.core/ex-info","joker.core/ex-message","joker.core/exit","joker.core/false?","joker.core/ffirst","joker.core/filter","joker.core/filterv","joker.core/find","joker.core/find-ns","joker.core/find-var","joker.core/first","joker.core/flatten","joker.core/float?","joker.core/flush","joker.core/fn","joker.core/fn?","joker.core/fnext","joker.core/fnil","joker.core/for","joker.core/force","joker.core/format","joker.core/frequencies","joker.core/gensym","joker.core/get","joker.core/get-in","joker.core/get-method","joker.core/go","joker.core/group-by","joker.core/hash","joker.core/hash-map","joker.core/hash-set","joker.core/ident?","joker.core/identical?","joker.core/identity","joker.core/if-let","joker.core/if-not","joker.core/if-some","joker.core/in-ns","joker.core/inc","joker.core/inc'","joker.core/indexed?","joker.core/instance?","joker.core/int","joker.core/int?","joker.core/integer?","joker.core/interleave","joker.core/intern","joker.core/interpose","joker.core/into","joker.core/iterate","joker.core/joker-version","joker.core/juxt","joker.core/keep","joker.core/keep-indexed","joker.core/key","joker.core/keys","joker.core/keyword","joker.core/keyword?","joker.core/last","joker.core/lazy-cat","joker.core/lazy-seq","joker.core/let","joker.core/letfn","joker.core/line-seq","joker.core/list","joker.core/list*","joker.core/list?","joker.core/load","joker.core/load-file","joker.core/load-string","joker.core/loaded-libs","joker.core/loop","joker.core/macroexpand","joker.core/macroexpand-1","joker.core/map","joker.core/map-indexed","joker.core/map?","joker.core/mapcat","joker.core/mapv","joker.core/max","joker.core/max-key","joker.core/memoize","joker.core/merge","joker.core/merge-with","joker.core/meta","joker.core/methods","joker.core/min","joker.core/min-key","joker.core/mod","joker.core/name","joker.core/namespace","joker.core/nat-int?","joker.core/neg-int?","joker.core/neg?","joker.core/newline","joker.core/next","joker.core/nfirst","joker.core/nil?","joker.core/nnext","joker.core/not","joker.core/not-any?","joker.core/not-empty","joker.core/not-every?","joker.core/not=","joker.core/ns","joker.core/ns-aliases","joker.core/ns-interns","joker.core/ns-map","joker.core/ns-name","joker.core/ns-publics","joker.core/ns-refers","joker.core/ns-resolve","joker.core/ns-sources","joker.core/ns-unalias","joker.core/ns-unmap","joker.core/nth","joker.core/nthnext","joker.core/nthrest","joker.core/num","joker.core/number?","joker.core/numerator","joker.core/odd?","joker.core/or","joker.core/partial","joker.core/partition","joker.core/partition-all","joker.core/partition-by","joker.core/peek","joker.core/pop","joker.core/pos-int?","joker.core/pos?","joker.core/pprint","joker.core/pr","joker.core/pr-err","joker.core/pr-str","joker.core/prefer-method","joker.core/prefers","joker.core/print","joker.core/print-err","joker.core/print-str","joker.core/printf","joker.core/println","joker.core/println-err","joker.core/println-str","joker.core/prn","joker.core/prn-err","joker.core/prn-str","joker.core/qualified-ident?","joker.core/qualified-keyword?","joker.core/qualified-symbol?","joker.core/quot","joker.core/rand","joker.core/rand-int","joker.core/rand-nth","joker.core/random-sample","joker.core/range","joker.core/ratio?","joker.core/rational?","joker.core/re-find","joker.core/re-matches","joker.core/re-pattern","joker.core/re-seq","joker.core/read","joker.core/read-line","joker.core/read-string","joker.core/realized?","joker.core/reduce","joker.core/reduce-kv","joker.core/reductions","joker.core/refer","joker.core/refer-clojure","joker.core/rem","joker.core/remove","joker.core/remove-all-methods","joker.core/remove-method","joker.core/remove-ns","joker.core/repeat","joker.core/repeatedly","joker.core/replace","joker.core/require","joker.core/requiring-resolve","joker.core/reset!","joker.core/reset-meta!","joker.core/reset-vals!","joker.core/resolve","joker.core/rest","joker.core/reverse","joker.core/reversible?","joker.core/rseq","joker.core/run!","joker.core/second","joker.core/select-keys","joker.core/seq","joker.core/seq?","joker.core/seqable?","joker.core/sequence","joker.core/sequential?","joker.core/set","joker.core/set?","joker.core/shuffle","joker.core/simple-ident?","joker.core/simple-keyword?","joker.core/simple-symbol?","joker.core/slurp","joker.core/some","joker.core/some->","joker.core/some->>","joker.core/some-fn","joker.core/some?","joker.core/sort","joker.core/sort-by","joker.core/special-symbol?","joker.core/spit","joker.core/split-at","joker.core/split-with","joker.core/str","joker.core/string?","joker.core/subs","joker.core/subvec","joker.core/swap!","joker.core/swap-vals!","joker.core/symbol","joker.core/symbol?","joker.core/take","joker.core/take-last","joker.core/take-nth","joker.core/take-while","joker.core/test","joker.core/the-ns","joker.core/time","joker.core/trampoline","joker.core/tree-seq","joker.core/true?","joker.core/type","joker.core/unsigned-bit-shift-right","joker.core/update","joker.core/update-in","joker.core/update-keys","joker.core/update-vals","joker.core/use","joker.core/val","joker.core/vals","joker.core/var-get","joker.core/var-set","joker.core/var?","joker.core/vary-meta","joker.core/vec","joker.core/vector","joker.core/vector?","joker.core/when","joker.core/when-first","joker.core/when-let","joker.core/when-not","joker.core/when-some","joker.core/while","joker.core/with-bindings","joker.core/with-bindings*","joker.core/with-in-str","joker.core/with-meta","joker.core/with-out-str","joker.core/with-redefs","joker.core/with-redefs-fn","joker.core/xml-seq","joker.core/zero?","joker.core/zipmap","joker.crypto/hmac","joker.crypto/md5","joker.crypto/sha1","joker.crypto/sha224","joker.crypto/sha256","joker.crypto/sha384","joker.crypto/sha512","joker.crypto/sha512-224","joker.crypto/sha512-256","joker.csv/csv-seq","joker.csv/write","joker.csv/write-string","joker.filepath/abs","joker.filepath/abs?","joker.filepath/base","joker.filepath/clean","joker.filepath/dir","joker.filepath/eval-symlinks","joker.filepath/ext","joker.filepath/file-seq","joker.filepath/from-slash","joker.filepath/glob","joker.filepath/join","joker.filepath/list-separator","joker.filepath/matches?","joker.filepath/rel","joker.filepath/separator","joker.filepath/split","joker.filepath/split-list","joker.filepath/to-slash","joker.filepath/volume-name","joker.hex/decode-string","joker.hex/encode-string","joker.hiccup/html","joker.hiccup/raw-string","joker.html/escape","joker.html/unescape","joker.http/send","joker.http/start-file-server","joker.http/start-server","joker.io/close","joker.io/copy","joker.io/pipe","joker.json/json-seq","joker.json/read-string","joker.json/write-string","joker.markdown/convert-string","joker.math/abs","joker.math/ceil","joker.math/copy-sign","joker.math/cos","joker.math/cube-root","joker.math/dim","joker.math/e","joker.math/exp","joker.math/exp-2","joker.math/exp-minus-1","joker.math/floor","joker.math/hypot","joker.math/inf","joker.math/inf?","joker.math/ln-of-10","joker.math/ln-of-2","joker.math/log","joker.math/log-10","joker.math/log-10-of-e","joker.math/log-2","joker.math/log-2-of-e","joker.math/log-binary","joker.math/log-plus-1","joker.math/max-double","joker.math/modf","joker.math/nan","joker.math/nan?","joker.math/next-after","joker.math/phi","joker.math/pi","joker.math/pow","joker.math/pow-10","joker.math/precision","joker.math/round","joker.math/round-to-even","joker.math/set-precision","joker.math/sign-bit","joker.math/sin","joker.math/smallest-nonzero-double","joker.math/sqrt","joker.math/sqrt-of-2","joker.math/sqrt-of-e","joker.math/sqrt-of-phi","joker.math/sqrt-of-pi","joker.math/trunc","joker.os/SIGABRT","joker.os/SIGALRM","joker.os/SIGFPE","joker.os/SIGHUP","joker.os/SIGILL","joker.os/SIGINT","joker.os/SIGKILL","joker.os/SIGPIPE","joker.os/SIGQUIT","joker.os/SIGSEGV","joker.os/SIGTERM","joker.os/SIGTRAP","joker.os/args","joker.os/chdir","joker.os/chmod","joker.os/chown","joker.os/chtimes","joker.os/clearenv","joker.os/close","joker.os/create","joker.os/create-temp","joker.os/cwd","joker.os/egid","joker.os/env","joker.os/euid","joker.os/exec","joker.os/executable","joker.os/exists?","joker.os/exit","joker.os/expand-env","joker.os/get-env","joker.os/gid","joker.os/groups","joker.os/hostname","joker.os/kill","joker.os/lchown","joker.os/link","joker.os/ls","joker.os/lstat","joker.os/mkdir","joker.os/mkdir-all","joker.os/mkdir-temp","joker.os/open","joker.os/pagesize","joker.os/path-separator?","joker.os/pid","joker.os/ppid","joker.os/read-link","joker.os/remove","joker.os/remove-all","joker.os/rename","joker.os/set-env","joker.os/sh","joker.os/sh-from","joker.os/signal","joker.os/start","joker.os/stat","joker.os/symlink","joker.os/temp-dir","joker.os/truncate","joker.os/uid","joker.os/unset-env","joker.os/user-cache-dir","joker.os/user-config-dir","joker.os/user-home-dir","joker.pprint/print-table","joker.repl/apropos","joker.repl/dir","joker.repl/dir-fn","joker.repl/doc","joker.runtime/go-root","joker.runtime/go-version","joker.runtime/joker-version","joker.set/difference","joker.set/index","joker.set/intersection","joker.set/join","joker.set/map-invert","joker.set/project","joker.set/rename","joker.set/rename-keys","joker.set/select","joker.set/subset?","joker.set/superset?","joker.set/union","joker.strconv/atoi","joker.strconv/can-backquote?","joker.strconv/format-bool","joker.strconv/format-double","joker.strconv/format-int","joker.strconv/graphic?","joker.strconv/itoa","joker.strconv/parse-bool","joker.strconv/parse-double","joker.strconv/parse-int","joker.strconv/printable?","joker.strconv/quote","joker.strconv/quote-char","joker.strconv/quote-char-to-ascii","joker.strconv/quote-char-to-graphic","joker.strconv/quote-to-ascii","joker.strconv/quote-to-graphic","joker.strconv/unquote","joker.string/blank?","joker.string/capitalize","joker.string/ends-with?","joker.string/escape","joker.string/includes?","joker.string/index-of","joker.string/join","joker.string/last-index-of","joker.string/lower-case","joker.string/pad-left","joker.string/pad-right","joker.string/re-quote","joker.string/replace","joker.string/replace-first","joker.string/reverse","joker.string/split","joker.string/split-lines","joker.string/starts-with?","joker.string/trim","joker.string/trim-left","joker.string/trim-newline","joker.string/trim-right","joker.string/triml","joker.string/trimr","joker.string/upper-case","joker.template/apply-template","joker.template/do-template","joker.test/*initial-report-counters*","joker.test/*load-tests*","joker.test/*report-counters*","joker.test/*stack-trace-depth*","joker.test/*test-out*","joker.test/*testing-contexts*","joker.test/*testing-vars*","joker.test/are","joker.test/assert-any","joker.test/assert-expr","joker.test/assert-predicate","joker.test/compose-fixtures","joker.test/deftest","joker.test/deftest-","joker.test/do-report","joker.test/function?","joker.test/get-possibly-unbound-var","joker.test/inc-report-counter","joker.test/is","joker.test/join-fixtures","joker.test/report","joker.test/run-all-tests","joker.test/run-tests","joker.test/set-test","joker.test/successful?","joker.test/test-all-vars","joker.test/test-ns","joker.test/test-var","joker.test/test-vars","joker.test/testing","joker.test/testing-contexts-str","joker.test/testing-vars-str","joker.test/try-expr","joker.test/use-fixtures","joker.test/with-test","joker.test/with-test-out","joker.time/add","joker.time/add-date","joker.time/ansi-c","joker.time/format","joker.time/from-unix","joker.time/hour","joker.time/hours","joker.time/in-timezone","joker.time/kitchen","joker.time/microsecond","joker.time/millisecond","joker.time/minute","joker.time/minutes","joker.time/nanosecond","joker.time/now","joker.time/parse","joker.time/parse-duration","joker.time/rfc1123","joker.time/rfc1123-z","joker.time/rfc3339","joker.time/rfc3339-nano","joker.time/rfc822","joker.time/rfc822-z","joker.time/rfc850","joker.time/round","joker.time/ruby-date","joker.time/second","joker.time/seconds","joker.time/since","joker.time/sleep","joker.time/stamp","joker.time/stamp-micro","joker.time/stamp-milli","joker.time/stamp-nano","joker.time/string","joker.time/sub","joker.time/truncate","joker.time/unix","joker.time/unix-date","joker.time/until","joker.tools.cli/format-lines","joker.tools.cli/get-default-options","joker.tools.cli/make-summary-part","joker.tools.cli/parse-opts","joker.tools.cli/summarize","joker.url/path-escape","joker.url/path-unescape","joker.url/query-escape","joker.url/query-unescape","joker.uuid/new","joker.walk/keywordize-keys","joker.walk/macroexpand-all","joker.walk/postwalk","joker.walk/postwalk-demo","joker.walk/postwalk-replace","joker.walk/prewalk","joker.walk/prewalk-demo","joker.walk/prewalk-replace","joker.walk/stringify-keys","joker.walk/walk","joker.yaml/read-string","joker.yaml/write-string"];
+const terms = ["joker.base64/decode-string","joker.base64/encode-string","joker.better-cond/cond","joker.better-cond/if-let","joker.better-cond/if-some","joker.better-cond/when-let","joker.better-cond/when-some","joker.bolt/by-prefix","joker.bolt/close","joker.bolt/create-bucket","joker.bolt/create-bucket-if-not-exists","joker.bolt/delete","joker.bolt/delete-bucket","joker.bolt/get","joker.bolt/next-sequence","joker.bolt/open","joker.bolt/put","joker.core/*","joker.core/*'","joker.core/*1","joker.core/*2","joker.core/*3","joker.core/*assert*","joker.core/*command-line-args*","joker.core/*e","joker.core/*err*","joker.core/*file*","joker.core/*flush-on-newline*","joker.core/*in*","joker.core/*joker-version*","joker.core/*linter-config*","joker.core/*linter-mode*","joker.core/*main-file*","joker.core/*ns*","joker.core/*out*","joker.core/*print-readably*","joker.core/+","joker.core/+'","joker.core/-","joker.core/-'","joker.core/->","joker.core/->>","joker.core//","joker.core/<","joker.core/","joker.core/>!","joker.core/>=","joker.core/alias","joker.core/all-ns","joker.core/alter-meta!","joker.core/and","joker.core/any?","joker.core/apply","joker.core/array-map","joker.core/as->","joker.core/assert","joker.core/assoc","joker.core/assoc-in","joker.core/associative?","joker.core/atom","joker.core/bigfloat","joker.core/bigfloat?","joker.core/bigint","joker.core/binding","joker.core/bit-and","joker.core/bit-and-not","joker.core/bit-clear","joker.core/bit-flip","joker.core/bit-not","joker.core/bit-or","joker.core/bit-set","joker.core/bit-shift-left","joker.core/bit-shift-right","joker.core/bit-test","joker.core/bit-xor","joker.core/boolean","joker.core/boolean?","joker.core/bound?","joker.core/bounded-count","joker.core/butlast","joker.core/callable?","joker.core/case","joker.core/cast","joker.core/chan","joker.core/char","joker.core/char?","joker.core/chunked-seq?","joker.core/class","joker.core/close!","joker.core/coll?","joker.core/comment","joker.core/comp","joker.core/compare","joker.core/complement","joker.core/concat","joker.core/cond","joker.core/cond->","joker.core/cond->>","joker.core/condp","joker.core/conj","joker.core/cons","joker.core/constantly","joker.core/contains?","joker.core/count","joker.core/counted?","joker.core/create-ns","joker.core/cycle","joker.core/dec","joker.core/dec'","joker.core/declare","joker.core/dedupe","joker.core/default-data-readers","joker.core/defmacro","joker.core/defmethod","joker.core/defmulti","joker.core/defn","joker.core/defn-","joker.core/defonce","joker.core/delay","joker.core/delay?","joker.core/denominator","joker.core/deref","joker.core/disj","joker.core/dissoc","joker.core/distinct","joker.core/distinct?","joker.core/doall","joker.core/dorun","joker.core/doseq","joker.core/dotimes","joker.core/doto","joker.core/double","joker.core/double?","joker.core/drop","joker.core/drop-last","joker.core/drop-while","joker.core/empty","joker.core/empty?","joker.core/eval","joker.core/even?","joker.core/every-pred","joker.core/every?","joker.core/ex-cause","joker.core/ex-data","joker.core/ex-info","joker.core/ex-message","joker.core/exit","joker.core/false?","joker.core/ffirst","joker.core/filter","joker.core/filterv","joker.core/find","joker.core/find-ns","joker.core/find-var","joker.core/first","joker.core/flatten","joker.core/float?","joker.core/flush","joker.core/fn","joker.core/fn?","joker.core/fnext","joker.core/fnil","joker.core/for","joker.core/force","joker.core/format","joker.core/frequencies","joker.core/gensym","joker.core/get","joker.core/get-in","joker.core/get-method","joker.core/go","joker.core/group-by","joker.core/hash","joker.core/hash-map","joker.core/hash-set","joker.core/ident?","joker.core/identical?","joker.core/identity","joker.core/if-let","joker.core/if-not","joker.core/if-some","joker.core/in-ns","joker.core/inc","joker.core/inc'","joker.core/indexed?","joker.core/instance?","joker.core/int","joker.core/int?","joker.core/integer?","joker.core/interleave","joker.core/intern","joker.core/interpose","joker.core/into","joker.core/iterate","joker.core/joker-version","joker.core/juxt","joker.core/keep","joker.core/keep-indexed","joker.core/key","joker.core/keys","joker.core/keyword","joker.core/keyword?","joker.core/last","joker.core/lazy-cat","joker.core/lazy-seq","joker.core/let","joker.core/letfn","joker.core/line-seq","joker.core/list","joker.core/list*","joker.core/list?","joker.core/load","joker.core/load-file","joker.core/load-string","joker.core/loaded-libs","joker.core/loop","joker.core/macroexpand","joker.core/macroexpand-1","joker.core/map","joker.core/map-indexed","joker.core/map?","joker.core/mapcat","joker.core/mapv","joker.core/max","joker.core/max-key","joker.core/memoize","joker.core/merge","joker.core/merge-with","joker.core/meta","joker.core/methods","joker.core/min","joker.core/min-key","joker.core/mod","joker.core/name","joker.core/namespace","joker.core/nat-int?","joker.core/neg-int?","joker.core/neg?","joker.core/newline","joker.core/next","joker.core/nfirst","joker.core/nil?","joker.core/nnext","joker.core/not","joker.core/not-any?","joker.core/not-empty","joker.core/not-every?","joker.core/not=","joker.core/ns","joker.core/ns-aliases","joker.core/ns-interns","joker.core/ns-map","joker.core/ns-name","joker.core/ns-publics","joker.core/ns-refers","joker.core/ns-resolve","joker.core/ns-sources","joker.core/ns-unalias","joker.core/ns-unmap","joker.core/nth","joker.core/nthnext","joker.core/nthrest","joker.core/num","joker.core/number?","joker.core/numerator","joker.core/odd?","joker.core/or","joker.core/partial","joker.core/partition","joker.core/partition-all","joker.core/partition-by","joker.core/peek","joker.core/pop","joker.core/pos-int?","joker.core/pos?","joker.core/pprint","joker.core/pr","joker.core/pr-err","joker.core/pr-str","joker.core/prefer-method","joker.core/prefers","joker.core/print","joker.core/print-err","joker.core/print-str","joker.core/printf","joker.core/println","joker.core/println-err","joker.core/println-str","joker.core/prn","joker.core/prn-err","joker.core/prn-str","joker.core/qualified-ident?","joker.core/qualified-keyword?","joker.core/qualified-symbol?","joker.core/quot","joker.core/rand","joker.core/rand-int","joker.core/rand-nth","joker.core/random-sample","joker.core/range","joker.core/ratio?","joker.core/rational?","joker.core/re-find","joker.core/re-matches","joker.core/re-pattern","joker.core/re-seq","joker.core/read","joker.core/read-line","joker.core/read-string","joker.core/realized?","joker.core/reduce","joker.core/reduce-kv","joker.core/reductions","joker.core/refer","joker.core/refer-clojure","joker.core/rem","joker.core/remove","joker.core/remove-all-methods","joker.core/remove-method","joker.core/remove-ns","joker.core/repeat","joker.core/repeatedly","joker.core/replace","joker.core/require","joker.core/requiring-resolve","joker.core/reset!","joker.core/reset-meta!","joker.core/reset-vals!","joker.core/resolve","joker.core/rest","joker.core/reverse","joker.core/reversible?","joker.core/rseq","joker.core/run!","joker.core/second","joker.core/select-keys","joker.core/seq","joker.core/seq?","joker.core/seqable?","joker.core/sequence","joker.core/sequential?","joker.core/set","joker.core/set?","joker.core/shuffle","joker.core/simple-ident?","joker.core/simple-keyword?","joker.core/simple-symbol?","joker.core/slurp","joker.core/some","joker.core/some->","joker.core/some->>","joker.core/some-fn","joker.core/some?","joker.core/sort","joker.core/sort-by","joker.core/special-symbol?","joker.core/spit","joker.core/split-at","joker.core/split-with","joker.core/str","joker.core/string?","joker.core/subs","joker.core/subvec","joker.core/swap!","joker.core/swap-vals!","joker.core/symbol","joker.core/symbol?","joker.core/take","joker.core/take-last","joker.core/take-nth","joker.core/take-while","joker.core/test","joker.core/the-ns","joker.core/time","joker.core/trampoline","joker.core/tree-seq","joker.core/true?","joker.core/type","joker.core/unsigned-bit-shift-right","joker.core/update","joker.core/update-in","joker.core/update-keys","joker.core/update-vals","joker.core/use","joker.core/val","joker.core/vals","joker.core/var-get","joker.core/var-set","joker.core/var?","joker.core/vary-meta","joker.core/vec","joker.core/vector","joker.core/vector?","joker.core/when","joker.core/when-first","joker.core/when-let","joker.core/when-not","joker.core/when-some","joker.core/while","joker.core/with-bindings","joker.core/with-bindings*","joker.core/with-in-str","joker.core/with-meta","joker.core/with-out-str","joker.core/with-redefs","joker.core/with-redefs-fn","joker.core/xml-seq","joker.core/zero?","joker.core/zipmap","joker.crypto/hmac","joker.crypto/md5","joker.crypto/sha1","joker.crypto/sha224","joker.crypto/sha256","joker.crypto/sha384","joker.crypto/sha512","joker.crypto/sha512-224","joker.crypto/sha512-256","joker.csv/csv-seq","joker.csv/write","joker.csv/write-string","joker.filepath/abs","joker.filepath/abs?","joker.filepath/base","joker.filepath/clean","joker.filepath/dir","joker.filepath/eval-symlinks","joker.filepath/ext","joker.filepath/file-seq","joker.filepath/from-slash","joker.filepath/glob","joker.filepath/join","joker.filepath/list-separator","joker.filepath/matches?","joker.filepath/rel","joker.filepath/separator","joker.filepath/split","joker.filepath/split-list","joker.filepath/to-slash","joker.filepath/volume-name","joker.git/commit","joker.git/config","joker.git/head","joker.git/log","joker.git/object","joker.git/open","joker.git/ref","joker.git/resolve-revision","joker.hex/decode-string","joker.hex/encode-string","joker.hiccup/html","joker.hiccup/raw-string","joker.html/escape","joker.html/unescape","joker.http/send","joker.http/start-file-server","joker.http/start-server","joker.io/close","joker.io/copy","joker.io/pipe","joker.json/json-seq","joker.json/read-string","joker.json/write-string","joker.markdown/convert-string","joker.math/abs","joker.math/ceil","joker.math/copy-sign","joker.math/cos","joker.math/cube-root","joker.math/dim","joker.math/e","joker.math/exp","joker.math/exp-2","joker.math/exp-minus-1","joker.math/floor","joker.math/hypot","joker.math/inf","joker.math/inf?","joker.math/ln-of-10","joker.math/ln-of-2","joker.math/log","joker.math/log-10","joker.math/log-10-of-e","joker.math/log-2","joker.math/log-2-of-e","joker.math/log-binary","joker.math/log-plus-1","joker.math/max-double","joker.math/modf","joker.math/nan","joker.math/nan?","joker.math/next-after","joker.math/phi","joker.math/pi","joker.math/pow","joker.math/pow-10","joker.math/precision","joker.math/round","joker.math/round-to-even","joker.math/set-precision","joker.math/sign-bit","joker.math/sin","joker.math/smallest-nonzero-double","joker.math/sqrt","joker.math/sqrt-of-2","joker.math/sqrt-of-e","joker.math/sqrt-of-phi","joker.math/sqrt-of-pi","joker.math/trunc","joker.os/SIGABRT","joker.os/SIGALRM","joker.os/SIGFPE","joker.os/SIGHUP","joker.os/SIGILL","joker.os/SIGINT","joker.os/SIGKILL","joker.os/SIGPIPE","joker.os/SIGQUIT","joker.os/SIGSEGV","joker.os/SIGTERM","joker.os/SIGTRAP","joker.os/args","joker.os/chdir","joker.os/chmod","joker.os/chown","joker.os/chtimes","joker.os/clearenv","joker.os/close","joker.os/create","joker.os/create-temp","joker.os/cwd","joker.os/egid","joker.os/env","joker.os/euid","joker.os/exec","joker.os/executable","joker.os/exists?","joker.os/exit","joker.os/expand-env","joker.os/get-env","joker.os/gid","joker.os/groups","joker.os/hostname","joker.os/kill","joker.os/lchown","joker.os/link","joker.os/ls","joker.os/lstat","joker.os/mkdir","joker.os/mkdir-all","joker.os/mkdir-temp","joker.os/open","joker.os/pagesize","joker.os/path-separator?","joker.os/pid","joker.os/ppid","joker.os/read-link","joker.os/remove","joker.os/remove-all","joker.os/rename","joker.os/set-env","joker.os/sh","joker.os/sh-from","joker.os/signal","joker.os/start","joker.os/stat","joker.os/symlink","joker.os/temp-dir","joker.os/truncate","joker.os/uid","joker.os/unset-env","joker.os/user-cache-dir","joker.os/user-config-dir","joker.os/user-home-dir","joker.pprint/print-table","joker.repl/apropos","joker.repl/dir","joker.repl/dir-fn","joker.repl/doc","joker.runtime/go-root","joker.runtime/go-version","joker.runtime/joker-version","joker.set/difference","joker.set/index","joker.set/intersection","joker.set/join","joker.set/map-invert","joker.set/project","joker.set/rename","joker.set/rename-keys","joker.set/select","joker.set/subset?","joker.set/superset?","joker.set/union","joker.strconv/atoi","joker.strconv/can-backquote?","joker.strconv/format-bool","joker.strconv/format-double","joker.strconv/format-int","joker.strconv/graphic?","joker.strconv/itoa","joker.strconv/parse-bool","joker.strconv/parse-double","joker.strconv/parse-int","joker.strconv/printable?","joker.strconv/quote","joker.strconv/quote-char","joker.strconv/quote-char-to-ascii","joker.strconv/quote-char-to-graphic","joker.strconv/quote-to-ascii","joker.strconv/quote-to-graphic","joker.strconv/unquote","joker.string/blank?","joker.string/capitalize","joker.string/ends-with?","joker.string/escape","joker.string/includes?","joker.string/index-of","joker.string/join","joker.string/last-index-of","joker.string/lower-case","joker.string/pad-left","joker.string/pad-right","joker.string/re-quote","joker.string/replace","joker.string/replace-first","joker.string/reverse","joker.string/split","joker.string/split-lines","joker.string/starts-with?","joker.string/trim","joker.string/trim-left","joker.string/trim-newline","joker.string/trim-right","joker.string/triml","joker.string/trimr","joker.string/upper-case","joker.template/apply-template","joker.template/do-template","joker.test/*initial-report-counters*","joker.test/*load-tests*","joker.test/*report-counters*","joker.test/*stack-trace-depth*","joker.test/*test-out*","joker.test/*testing-contexts*","joker.test/*testing-vars*","joker.test/are","joker.test/assert-any","joker.test/assert-expr","joker.test/assert-predicate","joker.test/compose-fixtures","joker.test/deftest","joker.test/deftest-","joker.test/do-report","joker.test/function?","joker.test/get-possibly-unbound-var","joker.test/inc-report-counter","joker.test/is","joker.test/join-fixtures","joker.test/report","joker.test/run-all-tests","joker.test/run-tests","joker.test/set-test","joker.test/successful?","joker.test/test-all-vars","joker.test/test-ns","joker.test/test-var","joker.test/test-vars","joker.test/testing","joker.test/testing-contexts-str","joker.test/testing-vars-str","joker.test/try-expr","joker.test/use-fixtures","joker.test/with-test","joker.test/with-test-out","joker.time/add","joker.time/add-date","joker.time/ansi-c","joker.time/format","joker.time/from-unix","joker.time/hour","joker.time/hours","joker.time/in-timezone","joker.time/kitchen","joker.time/microsecond","joker.time/millisecond","joker.time/minute","joker.time/minutes","joker.time/nanosecond","joker.time/now","joker.time/parse","joker.time/parse-duration","joker.time/rfc1123","joker.time/rfc1123-z","joker.time/rfc3339","joker.time/rfc3339-nano","joker.time/rfc822","joker.time/rfc822-z","joker.time/rfc850","joker.time/round","joker.time/ruby-date","joker.time/second","joker.time/seconds","joker.time/since","joker.time/sleep","joker.time/stamp","joker.time/stamp-micro","joker.time/stamp-milli","joker.time/stamp-nano","joker.time/string","joker.time/sub","joker.time/truncate","joker.time/unix","joker.time/unix-date","joker.time/until","joker.tools.cli/format-lines","joker.tools.cli/get-default-options","joker.tools.cli/make-summary-part","joker.tools.cli/parse-opts","joker.tools.cli/summarize","joker.url/path-escape","joker.url/path-unescape","joker.url/query-escape","joker.url/query-unescape","joker.uuid/new","joker.walk/keywordize-keys","joker.walk/macroexpand-all","joker.walk/postwalk","joker.walk/postwalk-demo","joker.walk/postwalk-replace","joker.walk/prewalk","joker.walk/prewalk-demo","joker.walk/prewalk-replace","joker.walk/stringify-keys","joker.walk/walk","joker.yaml/read-string","joker.yaml/write-string"];
const els = document.querySelectorAll('a.types');
els.forEach(el => el.addEventListener('click', toggleTypes));
diff --git a/std/git/a_git_slow_init.go b/std/git/a_git_slow_init.go
index 76a7b5efe..fabc0b89c 100644
--- a/std/git/a_git_slow_init.go
+++ b/std/git/a_git_slow_init.go
@@ -12,22 +12,7 @@ func InternsOrThunks() {
if VerbosityLevel > 0 {
fmt.Fprintln(os.Stderr, "Lazily running slow version of git.InternsOrThunks().")
}
- gitNamespace.ResetMeta(MakeMeta(nil, `Provides API for accessing and manipulating git repositories.
-
- Example:
-
- user=> (def db (joker.bolt/open "bolt.db" 0600))
- #'user/db
- user=> (joker.bolt/create-bucket db "users")
- nil
- user=> (def id (joker.bolt/next-sequence db "users"))
- #'user/id
- user=> id
- 1
- user=> (joker.bolt/put db "users" (str id) (joker.json/write-string {:id id :name "Joe Black"}))
- nil
- user=> (joker.json/read-string (joker.bolt/get db "users" (str id)))
- {"id" 1, "name" "Joe Black"}`, "1.0"))
+ gitNamespace.ResetMeta(MakeMeta(nil, `Provides API for accessing and manipulating git repositories.`, "1.0"))
gitNamespace.InternVar("commit", commit_,
MakeMeta(