(find-tail-ops tree)
Returns a list of the function calls that are in tail position.
Returns a list of the function calls that are in tail position.
(tail-recursive? fn-tree)
Returns true
if there is a call to the function being defined
in a tail position. This does not necessarily mean that the tail call
can be replaced with recur
, since that does not work with functions of
different arity, or across try
.
Returns `true` if there is a call to the function being defined in a tail position. This does not necessarily mean that the tail call can be replaced with `recur`, since that does not work with functions of different arity, or across `try`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close