Utility functions.
Utility functions.
(assert-args & pairs)
(bytes-hash-code bytes)
(bytes-hash-code bytes initial)
(bytes-hash-code bytes offset length)
(bytes-hash-code bytes offset length initial)
Calculate a hash code for a portion of a byte array.
Calculate a hash code for a portion of a byte array.
(case-expr e & clauses)
Like case, but only supports individual test expressions, which are evaluated at macro-expansion time.
Like case, but only supports individual test expressions, which are evaluated at macro-expansion time.
(doto-let bindings & body)
bindings => binding-form expr
Evaluates expr, and evaluates body with its result bound to the binding-form. Returns the result of expr.
bindings => binding-form expr Evaluates expr, and evaluates body with its result bound to the binding-form. Returns the result of expr.
(ffilter pred coll)
Returns the first item in coll for which (pred item) is true.
Returns the first item in coll for which (pred item) is true.
(ignore-errors & body)
Returns the result of evaluating body, or nil if it throws an exception.
Returns the result of evaluating body, or nil if it throws an exception.
(longest-run x coll)
Find the longest run of the value x in the collection coll. Returns the pair of the starting index and length on success and nil on failure.
Find the longest run of the value x in the collection coll. Returns the pair of the starting index and length on success and nil on failure.
(sbyte x)
Signed byte representation of an unsigned integral value.
Signed byte representation of an unsigned integral value.
(ubyte x)
Unsigned number represented by a byte value.
Unsigned number represented by a byte value.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close