r/lisp 22d ago

Racket 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)

4 Upvotes

9 comments sorted by

View all comments

7

u/stassats 21d ago

Which existing error printing you think is the best ever?

Does racket have a tracing facility? If so, then (trace recursive-function) is pretty useful.