Liking cljdoc? Tell your friends :D

fogus.fun

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.
raw docstring

!predclj

(!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).
raw docstring

downtoclj

(downto end start)

foldrclj

(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).
raw docstring

iotaclj

(iota t nxt stop y)

toclj

(to start end)

uptoclj

(upto end start)

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close