A small library of useful 'language extensions' -- things are 'like' existing clojure.core functionality but with a small, useful extension.
condp-> -- an extension to cond-> that threads the expression through the predicate(s) as well as the result(s). condp->> -- an extension to cond->> that threads the expression through the predicate(s) as well as the result(s). condq -- a version of condp that accepts a unary predicate and omits the expr (that condp uses as the second argument to the predicate). dissoc-all -- an extension to dissoc that dissoc's a sequence of keys. flip -- a companion to partial that allows the first argument to be omitted (rather than the trailing arguments). Inspired by Haskell's flip. interleave-all -- an extension to interleave that uses all elements of the longer sequence argument(s).
A small library of useful 'language extensions' -- things are 'like' existing clojure.core functionality but with a small, useful extension. condp-> -- an extension to cond-> that threads the expression through the predicate(s) as well as the result(s). condp->> -- an extension to cond->> that threads the expression through the predicate(s) as well as the result(s). condq -- a version of condp that accepts a unary predicate and omits the expr (that condp uses as the second argument to the predicate). dissoc-all -- an extension to dissoc that dissoc's a sequence of keys. flip -- a companion to partial that allows the first argument to be omitted (rather than the trailing arguments). Inspired by Haskell's flip. interleave-all -- an extension to interleave that uses all elements of the longer sequence argument(s).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close