# Programming Clojure, Fourth Edition: tail recursion (suggestion, page 42)

**URL:** <https://forum.devtalk.com/t/programming-clojure-fourth-edition-tail-recursion-suggestion-page-42/234164>\
**Category:** PragProg Customers\
**Tags:** book-programming-clojure-fourth-edition, suggestion\
**Created:** [14 February 2026 22:26 UTC](https://forum.devtalk.com/t/programming-clojure-fourth-edition-tail-recursion-suggestion-page-42/234164 "2026-02-14T22:26:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![grylix](https://forum.devtalk.com/user_avatar/forum.devtalk.com/grylix/32/7935_2.png) [@grylix](https://forum.devtalk.com/u/grylix)\
**Post date:** [14 February 2026 22:26 UTC](https://forum.devtalk.com/t/programming-clojure-fourth-edition-tail-recursion-suggestion-page-42/234164/1 "2026-02-14T22:26:52Z")

</div>

On page 42 you write

> recur binds new values for loop’s bindings and returns control to the top of the  
> loop.

I recommend to add, that `recur` must be invoked in a tail-recursive position, this is what I asked myself while reading these lines. Such a comment would be enough for me, but in addition you could also explain what “tail-recursion” means, e.g. by giving a couter example such as

> (defn fac [n]  
> (if (\<= n 1)  
> 1  
> (\* n (recur (dec n)))))

which leads to the error message `Can only recur from tail position`.
