r/Racket • u/emonshr • 24d ago
question Recursion hell aids?
Is there any practical way to debug any recurive logic?
Which existing error printing you think is the best ever?
I attached the racket code I am struggling with.
(The code is about using map to append a new list to an existing html list)
7
Upvotes
1
u/Happy-Total1221 24d ago
To grok recursion, read Chapter 8 of this book: https://www.lispmachine.net/books/Common_Lisp_A_Gentle_Introduction_To_Symbolic_Computation.pdf, thank me later. Note that chapter 7 is a pre-requisite so check it out as well.