Liking cljdoc? Tell your friends :D

clojure.core.incubator

Functions/macros variants of the ones that can be found in clojure.core (note to other contrib members: feel free to add to this lib)

Functions/macros variants of the ones that can be found in clojure.core 
(note to other contrib members: feel free to add to this lib)
raw docstring

-?>cljmacrodeprecated

(-?> x form)
(-?> x form & forms)

DEPRECATED: use clojure.core/some-> instead.

Same as clojure.core/-> but returns nil as soon as the threaded value is nil itself (thus short-circuiting any pending computation). Examples : (-?> "foo" .toUpperCase (.substring 1)) returns "OO" (-?> nil .toUpperCase (.substring 1)) returns nil

DEPRECATED: use clojure.core/some-> instead.

Same as clojure.core/-> but returns nil as soon as the threaded value is nil itself (thus short-circuiting any pending computation).
Examples :
(-?> "foo" .toUpperCase (.substring 1)) returns "OO"
(-?> nil .toUpperCase (.substring 1)) returns nil
sourceraw docstring

-?>>cljmacrodeprecated

(-?>> x form)
(-?>> x form & forms)

DEPRECATED: use clojure.core/some->> instead.

Same as clojure.core/->> but returns nil as soon as the threaded value is nil itself (thus short-circuiting any pending computation). Examples : (-?>> (range 5) (map inc)) returns (1 2 3 4 5) (-?>> [] seq (map inc)) returns nil

DEPRECATED: use clojure.core/some->> instead.

Same as clojure.core/->> but returns nil as soon as the threaded value is nil itself (thus short-circuiting any pending computation).
Examples :
(-?>> (range 5) (map inc)) returns (1 2 3 4 5)
(-?>> [] seq (map inc)) returns nil
sourceraw docstring

.?.cljmacro

(.?. x form)
(.?. x form & forms)

Same as clojure.core/.. but returns nil as soon as the threaded value is nil itself (thus short-circuiting any pending computation). Examples : (.?. "foo" .toUpperCase (.substring 1)) returns "OO" (.?. nil .toUpperCase (.substring 1)) returns nil

Same as clojure.core/.. but returns nil as soon as the threaded value is nil itself (thus short-circuiting any pending computation).
Examples :
(.?. "foo" .toUpperCase (.substring 1)) returns "OO"
(.?. nil .toUpperCase (.substring 1)) returns nil
sourceraw docstring

defmacro-cljmacro

(defmacro- name & decls)

Same as defmacro but yields a private definition

Same as defmacro but yields a private definition
sourceraw docstring

dissoc-inclj

(dissoc-in m [k & ks :as keys])

Dissociates an entry from a nested associative structure returning a new nested structure. keys is a sequence of keys. Any empty maps that result will not be present in the new structure.

Dissociates an entry from a nested associative structure returning a new
nested structure. keys is a sequence of keys. Any empty maps that result
will not be present in the new structure.
sourceraw docstring

new-by-nameclj

(new-by-name class-name & args)

Constructs a Java object whose class is specified by a String.

Constructs a Java object whose class is specified by a String.
sourceraw docstring

seqable?cljdeprecated

(seqable? x)

DEPRECATED: use clojure.core/seqable? as of Clojure 1.9.0-alpha5.

Returns true if (seq x) will succeed, false otherwise.

DEPRECATED: use clojure.core/seqable? as of Clojure 1.9.0-alpha5.

Returns true if (seq x) will succeed, false otherwise.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close