A bunch of utilities that you might find in interesting functional and/or function-level languages.
A bunch of utilities that you might find in interesting functional and/or function-level languages.
(!pred p f)
(!pred p f ex-dispatch)
Returns function that takes args and if (apply f args) is not nil, returns it. Otherwise throw exception per ex-dispatch - nil / string / map throw ex-info, or an ifn? constructs an arbitrary exceptions (and is passed the function args).
Returns function that takes args and if (apply f args) is not nil, returns it. Otherwise throw exception per ex-dispatch - nil / string / map throw ex-info, or an ifn? constructs an arbitrary exceptions (and is passed the function args).
(downto end start)
(foldr f acc [h & t :as coll])
Fold right... as opposed to fold left (i.e. reduce).
Fold right... as opposed to fold left (i.e. reduce).
(iota t nxt stop y)
(to start end)
(upto end start)
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 |