Sorry, I meant re-evaluating a function (with geiser send definition). What worked for me was exporting a global variable (a record) from a module, and then in the REPL changing the value of different fields, it worked well with the game loop. But it is cumbersome to use globals in this way, I only did it to try out the REPL and the geiser hoot package. I know there are limitations with the current version of the REPL, that is why I'm asking for some useful tips given said limitations (I only tried it briefly, global variables was the only thing that came to mind).
Viewing post in Make a browser game in Scheme with Hoot
Thank you. I tried the REPL again, and after importing a module, functions can be redefined. What I was trying to do was fetching the function name and redefine it (using set!) in what I had assumed was the main process, I understand know that run-web-repl starts the REPL from scratch (with very little context from where it is launched). I will try to start the game loop from within the REPL and see how it goes.