diff --git a/core/procs.go b/core/procs.go
index 79d7500f9..f262d806d 100644
--- a/core/procs.go
+++ b/core/procs.go
@@ -50,7 +50,7 @@ const (
PRINT_IF_NOT_NIL
)
-const VERSION = "v0.12.3"
+const VERSION = "v0.12.4"
var internalLibs map[string][]byte
diff --git a/docs/index.html b/docs/index.html
index 5085cd5c2..1d6ede6ee 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -16,6 +16,9 @@
Index
joker.crypto
+
+ joker.filepath
+
joker.hex
@@ -88,6 +91,12 @@ joker.crypto
Implements common cryptographic and hash functions.
details
+
+ joker.filepath
+ v1.0
+ Implements utility routines for manipulating filename paths.
+ details
+
joker.hex
v1.0
diff --git a/docs/joker.core.html b/docs/joker.core.html
index 3855c2d06..dc420438a 100644
--- a/docs/joker.core.html
+++ b/docs/joker.core.html
@@ -567,6 +567,9 @@ Index
let
+
+ letfn
+
list
@@ -1588,7 +1591,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
assert
@@ -1830,7 +1833,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
butlast
@@ -1870,7 +1873,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
cast
@@ -2007,7 +2010,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
cond->>
@@ -2019,7 +2022,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
condp
@@ -2166,7 +2169,7 @@ dedupe
(dedupe coll)
Returns a lazy sequence removing consecutive duplicates in coll.
- source
+ source
default-data-readers
@@ -2175,7 +2178,7 @@ default-data-readers
Default map of data reader functions provided by Joker. May be
overridden by binding *data-readers*.
- source
+ source
defmacro
@@ -2196,7 +2199,7 @@ defmethod
(defmethod multifn dispatch-val & fn-tail)
Creates and installs a new method of multimethod associated with dispatch-value.
- source
+ source
defmulti
@@ -2226,7 +2229,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
defn
@@ -2505,7 +2508,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
every?
@@ -2593,7 +2596,7 @@ filterv
Returns a vector of the items in coll for which
(pred item) returns true. pred must be free of side-effects.
- source
+ source
find
@@ -2642,7 +2645,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
float?
@@ -2709,7 +2712,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
for
@@ -2754,7 +2757,7 @@ frequencies
Returns a map from distinct items in coll to the number of times
they appear.
- source
+ source
gensym
@@ -2798,7 +2801,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
group-by
@@ -2809,7 +2812,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
hash
@@ -3023,7 +3026,7 @@ into
Returns a new coll consisting of to-coll with all of the items of
from-coll conjoined.
- source
+ source
iterate
@@ -3041,7 +3044,7 @@ joker-version
(joker-version)
Returns joker version as a printable string.
- source
+ source
juxt
@@ -3068,7 +3071,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
keep-indexed
@@ -3079,7 +3082,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
key
@@ -3166,6 +3169,19 @@ let
therein.
source
+
+ letfn
+ Special form
+ v1.0
+ (letfn [fnspecs*] exprs*)
+
+ fnspec ==> (fname [params*] exprs) or (fname ([params*] exprs)+)
+
+ 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
+
list
Function
@@ -3293,7 +3309,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
map?
@@ -3328,7 +3344,7 @@ mapv
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
max
@@ -3403,7 +3419,7 @@ methods
(methods multifn)
Given a multimethod, returns a map of dispatch values -> dispatch fns
- source
+ source
min
@@ -3809,7 +3825,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
partition-by
@@ -3819,7 +3835,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
peek
@@ -3908,7 +3924,7 @@ prefer-method
Causes the multimethod to prefer matches of dispatch-val-x over dispatch-val-y
when there is a conflict
- source
+ source
prefers
@@ -3917,7 +3933,7 @@ prefers
(prefers multifn)
Given a multimethod, returns a map of preferred value -> set of other values
- source
+ source
print
@@ -4075,7 +4091,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
random-sample
@@ -4085,7 +4101,7 @@ random-sample
Returns items from coll with random probability of prob (0.0 -
1.0).
- source
+ source
range
@@ -4191,7 +4207,7 @@ realized?
(realized? x)
Returns true if a value has been produced for a delay or lazy sequence.
- source
+ source
reduce
@@ -4234,7 +4250,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
refer
@@ -4293,7 +4309,7 @@ remove-all-methods
(remove-all-methods multifn)
Removes all of the methods of multimethod.
- source
+ source
remove-method
@@ -4302,7 +4318,7 @@ remove-method
(remove-method multifn dispatch-val)
Removes the method of multimethod associated with dispatch-value.
- source
+ source
remove-ns
@@ -4511,7 +4527,7 @@ run!
Runs the supplied procedure (via reduce), for purposes of side
effects, on successive items in the collection. Returns nil.
- source
+ source
second
@@ -4603,7 +4619,7 @@ shuffle
(shuffle coll)
Return a random permutation of coll
- source
+ source
simple-ident?
@@ -4639,7 +4655,7 @@ slurp
(slurp f)
Opens file f and reads all its contents, returning a string.
- source
+ source
some
@@ -4661,7 +4677,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
some->>
@@ -4671,7 +4687,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
some-fn
@@ -4686,7 +4702,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
some?
@@ -4737,7 +4753,7 @@ spit
Opposite of slurp. Opens file f, writes content, then
closes f.
- source
+ source
split-at
diff --git a/docs/joker.math.html b/docs/joker.math.html
index 69c5c5481..5639179b4 100644
--- a/docs/joker.math.html
+++ b/docs/joker.math.html
@@ -47,8 +47,8 @@ pi
Double
v1.0
- Mathematical constant Pi.
- source
+ Pi
+
sin
diff --git a/docs/joker.time.html b/docs/joker.time.html
index d74f6615f..9b1bb7676 100644
--- a/docs/joker.time.html
+++ b/docs/joker.time.html
@@ -12,6 +12,9 @@ Index
add
+
+ ansi-c
+
format
@@ -24,6 +27,9 @@ Index
hours
+
+ kitchen
+
microsecond
@@ -45,9 +51,33 @@ Index
parse-duration
+
+ rfc1123
+
+
+ rfc1123-z
+
+
+ rfc3339
+
+
+ rfc3339-nano
+
+
+ rfc822
+
+
+ rfc822-z
+
+
+ rfc850
+
round
+
+ ruby-date
+
second
@@ -60,6 +90,18 @@ Index
sleep
+
+ stamp
+
+
+ stamp-micro
+
+
+ stamp-milli
+
+
+ stamp-nano
+
string
@@ -72,6 +114,9 @@ Index
unix
+
+ unix-date
+
until
@@ -86,6 +131,14 @@ add
Returns the time t+d.
+
+
+ ansi-c
+ String
+ v1.0
+
+ Mon Jan _2 15:04:05 2006
+
@@ -116,7 +169,7 @@ hour
v1.0
Number of nanoseconds in 1 hour
- source
+
hours
@@ -126,6 +179,14 @@ hours
Returns the duration (passed as a number of nanoseconds) as a floating point number of hours.
+
+
+ kitchen
+ String
+ v1.0
+
+ 3:04PM
+
microsecond
@@ -133,7 +194,7 @@ microsecond
v1.0
Number of nanoseconds in 1 microsecond
- source
+
millisecond
@@ -141,7 +202,7 @@ millisecond
v1.0
Number of nanoseconds in 1 millisecond
- source
+
minute
@@ -149,7 +210,7 @@ minute
v1.0
Number of nanoseconds in 1 minute
- source
+
minutes
@@ -166,7 +227,7 @@ nanosecond
v1.0
Number of nanoseconds in 1 nanosecond
- source
+
now
@@ -187,6 +248,62 @@ parse-duration
each with optional fraction and a unit suffix, such as 300ms, -1.5h or 2h45m. Valid time units are
ns, us (or µs), ms, s, m, h.
+
+
+ rfc1123
+ String
+ v1.0
+
+ Mon, 02 Jan 2006 15:04:05 MST
+
+
+
+ rfc1123-z
+ String
+ v1.0
+
+ Mon, 02 Jan 2006 15:04:05 -0700
+
+
+
+ rfc3339
+ String
+ v1.0
+
+ 2006-01-02T15:04:05Z07:00
+
+
+
+ rfc3339-nano
+ String
+ v1.0
+
+ 2006-01-02T15:04:05.999999999Z07:00
+
+
+
+ rfc822
+ String
+ v1.0
+
+ 02 Jan 06 15:04 MST
+
+
+
+ rfc822-z
+ String
+ v1.0
+
+ 02 Jan 06 15:04 -0700
+
+
+
+ rfc850
+ String
+ v1.0
+
+ Monday, 02-Jan-06 15:04:05 MST
+
round
@@ -197,6 +314,14 @@ round
Returns the result of rounding d to the nearest multiple of m. d and m represent time durations in nanoseconds.
The rounding behavior for halfway values is to round away from zero. If m <= 0, returns d unchanged.
+
+
+ ruby-date
+ String
+ v1.0
+
+ Mon Jan 02 15:04:05 -0700 2006
+
second
@@ -204,7 +329,7 @@ second
v1.0
Number of nanoseconds in 1 second
- source
+
seconds
@@ -233,6 +358,38 @@ sleep
Pauses the execution thread for at least the duration d (expressed in nanoseconds).
A negative or zero duration causes sleep to return immediately.
+
+
+ stamp
+ String
+ v1.0
+
+ Jan _2 15:04:05
+
+
+
+ stamp-micro
+ String
+ v1.0
+
+ Jan _2 15:04:05.000000
+
+
+
+ stamp-milli
+ String
+ v1.0
+
+ Jan _2 15:04:05.000
+
+
+
+ stamp-nano
+ String
+ v1.0
+
+ Jan _2 15:04:05.000000000
+
string
@@ -269,6 +426,14 @@ unix
Returns t as a Unix time, the number of seconds elapsed since January 1, 1970 UTC.
+
+
+ unix-date
+ String
+ v1.0
+
+ Mon Jan _2 15:04:05 MST 2006
+
until