(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 is a website building & hosting documentation for Clojure/Script libraries
× close