(-> expr & forms)
This macro is the same as clojure.core/some->
, but the check is done
using the predicate anomaly?
of the IAnomaly
protocol and
the substitution occurs as in macro ->
(the thread-first
macro).
This macro is the same as `clojure.core/some->`, but the check is done using the predicate `anomaly?` of the `IAnomaly` protocol and the substitution occurs as in macro `->` (the `thread-first` macro).
(->> expr & forms)
This macro is the same as clojure.core/some->>
, but the check is done
using the predicate anomaly?
of the IAnomaly
protocol and
the substitution occurs as in macro ->>
(the thread-last
macro).
This macro is the same as `clojure.core/some->>`, but the check is done using the predicate `anomaly?` of the `IAnomaly` protocol and the substitution occurs as in macro `->>` (the `thread-last` macro).
An implementation of a Common Lisp compatible format function.
An implementation of a Common Lisp compatible format function.
(cljs? env)
Checks &env in macro and returns true
if that cljs env. Otherwise false
.
Checks &env in macro and returns `true` if that cljs env. Otherwise `false`.
Anomaly protocol.
Anomaly protocol.
(anomaly? this)
Returns true
if it is an anomaly. Otherwise, false
.
Returns `true` if it is an anomaly. Otherwise, `false`.
Response protocol.
Response protocol.
(response? this)
Returns true
if it is a response. Otherwise, false
.
Returns `true` if it is a response. Otherwise, `false`.
Response builder protocol.
Response builder protocol.
(as-response this type)
Returns a response using the given response type.
Returns a response using the given response type.
(safe body)
(safe body handler)
Extended version of try-catch.
Extended version of try-catch.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close