(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 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 |