Arc Forumnew | comments | leaders | submitlogin
1 point by shader 3070 days ago | link | parent

There's an interesting bug with my len redefinition, and I was wondering if you guys might have some ideas.

Sometimes when I call len, after the new ppr has been automatically loaded by libs.arc, it produces an error. I have determined that was caused by the fact that len was only partially redefined. Apparently, the one recursive call to len inside the redefinition can sometimes refer to the old len. It doesn't seem to happen when I run the code from the repl.

Any ideas why that happens? Any suggestions for fixing it?



1 point by conanite 3069 days ago | link

Can you post an example?

-----