Reset state in Common Lisp

前端 未结 2 1211
醉梦人生
醉梦人生 2021-02-05 04:49

Newbie Common Lisp question here.

Is there a way to reset the state of the environment? What I mean, is there some command that brings the REPL back to the same state it

2条回答
  •  抹茶落季
    2021-02-05 05:21

    Not in general, no. I occasionally want to do something like that, so my workflow is generally to create a new package to hold whatever project I'm starting, then when I want to reset things I use DELETE-PACKAGE. I never do any work in the CL-USER package, since different implementations have different things stuffed into it.

提交回复
热议问题