Fork me on GitHub
#calva
<
2023-08-18
>
Ingy döt Net03:08:49

just got my first infinite loop in a repl (in calva). had to kill the repl. is there a way to stop the loop without stopping the repl?

Bob B03:08:18

depending on exactly what caused the infinite loop, Calva: Interrupt Running Evaluations might be what you want

Ingy döt Net03:08:39

that apparently recur s forever

Ingy döt Net04:08:27

Thanks @U013JFLRFS8 that worked

👍 2
pez07:08:20

I recall reading something about that it will stop working with some recent/coming version of Java. Maybe I am recalling that wrong…

pez10:08:37

That rings a bell. Might have been in #C17JYSA3H that I saw it mentioned.

pez08:08:30

Dear Calva friends. Over at https://github.com/BetterThanTomorrow/calva/issues/2282 @djblue has added a suggestion about adding some variables to the https://calva.io/custom-commands/. As the list of variables is starting to get a bit ridiculously long, he also opens up for a discussion about alternative ways to provide and access the information needed for the commands. Please join the discussion if you are interested in how this might change. (If you are worried that your current variables will stop working, don’t be. We will figure out how to make any change compatible with the current syntax and variables.)