(fmtstr format-in & args)
Provides a marginally more convenient form of clojure.pprint/cl-format
by
not requiring a writer to be specified when a formatted string is all that
is needed.
Provides a marginally more convenient form of `clojure.pprint/cl-format` by not requiring a writer to be specified when a formatted string is all that is needed.
(format writer format-in & args)
Replaces clojure.core/format
with clojure.pprint/cl-format
. Takes the
same arguments as cl-format
.
See: https://clojure.github.io/clojure/clojure.pprint-api.html#clojure.pprint/cl-format
Replaces `clojure.core/format` with `clojure.pprint/cl-format`. Takes the same arguments as `cl-format`. See: https://clojure.github.io/clojure/clojure.pprint-api.html#clojure.pprint/cl-format
(non-nil! x)
(non-nil! x message)
Asserts (using assert
) that x
is not nil and returns it if it is not.
Asserts (using `assert`) that `x` is not nil and returns it if it is not.
(single! coll)
Asserts (using assert
) that coll
contains only a single element; does
not realise lazy sequences.
Asserts (using `assert`) that `coll` contains only a single element; does not realise lazy sequences.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close