ChrysaLisp
ChrysaLisp copied to clipboard
reload definitions in lisp
Hello,
I wrote some functions in an .inc file and I am able to load it with the import command in a lisp session. The problem is, if I modify something in the existing functions or add some new defun in the inc file, even if I run the import command again, the new added defun or the changes are not loaded in the existing lisp session. I have to exit from lisp and run it again. So i can import the new modified inc file.
Is this an expected behavior?
thanks, Fausto
Can I confirm what went wrong?
I must admit I don't tend to re import files. The issue here is that import, check in boot.inc, keeps a list of what files have been imported already.
So re importing will think you all ready did.
Does this sound like the issue ?
Regards
Chris
Exactly :) There's no problem, for me, exiting lisp and opening it again. I opened the issue because I didn't know if this was expected or not.
On Sun, Sep 5, 2021 at 1:24 PM Chris Hinsley @.***> wrote:
Can I confirm what went wrong?
I must admit I don't tend to re import files. The issue here is that import, check in boot.inc, keeps a list of what files have been imported already.
So re importing will think you all ready did.
Does this sound like the issue ?
Regards
Chris
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vygr/ChrysaLisp/issues/265#issuecomment-913135015, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOCZK2NY5UY5Z5BVK7LNBDUANHN3ANCNFSM5DNJAHIQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Sorry it took 22 hours to notice this post :(
If you want fairly instant feedback on questions join us over on #ChysaLisp-OS:matrix.org I highly recommend the Element app from element.io as the reader.
Chris