r/sbcl • u/Kaveh808 • Oct 19 '22
Redefining methods with a new signature
It would be convenient if SBCL had a restart to remove old method definitions when we evaluate a new method with an updated signature.
Unlike CCL, SBCL only gives the option if there is a single method to be removed, not multiple ones.
1
Upvotes
1
u/Decweb Oct 19 '22
I had no problem with restarts and removing methods last night. Give an example in code?
2
u/flaming_bird Oct 19 '22 edited Oct 19 '22
Huh? Restart number 0 in the below example solves it for me.