(stateful-fn & exprs)Takes a seq of unevaluated expressions. Returns a function that evaluates and returns each expression in turn. Throws if stateful-fn is called more times than there are values provided.
Takes a seq of unevaluated expressions. Returns a function that evaluates and returns each expression in turn. Throws if stateful-fn is called more times than there are values provided.
(stateful-fn* fns)Takes a seq of no argument fns. Returns a new fn that calls each fn in turn.
Takes a seq of no argument fns. Returns a new fn that calls each fn in turn.
(thunk-exprs exprs)Takes a seq of unevaluated exprs. Returns a seq of no argument fns, that call each of the exprs in turn
Takes a seq of unevaluated exprs. Returns a seq of no argument fns, that call each of the exprs in turn
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 |