Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Doing a full reload of the system once in a while (especially after large changes) also helps.

Just because you can keep a REPL open for days doesn't mean that's always the best idea.



Another way to deal with that is patching the running Lisp and "undefine" no longer needed functions, variables, classes, ...


I have always found that a weak point. Is there an "opposite" key binding to C-c C-c than will undefine/unintern an entity?


C-c C-u is bound to `slime-undefine-function`, though it prompts you for the name of the function and doesn't determine it by the present context. `slime-unintern-symbol` is also present but not bound by default and also prompts for the name.


Can't remember what SLIME supports, but LispWorks has Undefine as an Editor command and in its Editor menus. It can undefine more than just functions.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: