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 builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |