Control forms.
Control forms.
(->>?-> expr & clauses)
Like ?->, but the conditions are threaded with ->> and the results are threaded with ->. (->>?-> 4 (> 2) inc (> 6) dec)
Like ?->, but the conditions are threaded with ->> and the results are threaded with ->. (->>?-> 4 (> 2) inc (> 6) dec)
(->?->> expr & clauses)
Like cond->, but threads the argument through the conditions as well. (->?->> 4 (> 2) inc (> 6) dec)
Like cond->, but threads the argument through the conditions as well. (->?->> 4 (> 2) inc (> 6) dec)
(?-> expr & clauses)
Like cond->, but threads the argument through the conditions as well. (?-> 4 even? inc odd? inc neg? inc)
Like cond->, but threads the argument through the conditions as well. (?-> 4 even? inc odd? inc neg? inc)
(?->> expr & clauses)
Like cond->>, but threads the argument through the conditions as well. (?->> 4 even? (assoc {} :four))
Like cond->>, but threads the argument through the conditions as well. (?->> 4 even? (assoc {} :four))
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close