freenode/#lisp - IRC Chatlog
Search
23:00:43
aeth
pjb: I'm not sure there's a better solution than calling a #'cleanup method at the end of an unwind protect if it's a framework (with inversion of control: i.e. it is in charge of the control flow) that wraps everything in an unwind-protect.
23:00:47
aeth
And that cleanup could have just about anything, including freeing foreign data if CFFI-wrapped libraries are used, other calls to cleanup, resetting globals, etc.
23:01:37
aeth
The main drawback, of course, is that that method is essentially by definition called exactly once at the very end, so if it's missing it will take some time to find out when ideally you want to verify that it's there before init.
23:42:24
pjb
aeth: you can check that things have happened in finalize methods for your objects. This is implementation dependent, but for checks it's good enough (just develop with an implementation that have them).
23:54:01
pjb
When you have a problem you should extract a minimum example demonstrating this problem, but the key word here is "minimal": ie. it must not be smaller. If we cannot load the code to debug it, how can we help?
23:54:54
pjb
And what about this *application-frame* variable? Where did you define it? Why is it not in your paste?
0:18:42
asarch
If I try adding (run-frame-top-level (make-application-frame 'color-editor)) at the end of the code, I get.
0:22:24
asarch
That code is from: https://common-lisp.net/project/mcclim/static/documents/guided-tour.pdf
0:40:13
katco
(i'm sorry for this weird sentence): i'm working on some packaging for guix, and i'm trying to package a package-inferred-system system. with sbcl, guix uses the `compile-bundle-op` to produce fasl's, but this seems to not be working. that is, many fasl files are produced, but not the single `foo--system.fasl` i would expect. is there a way i can get package-inferred-systems to produce this single fasl using the `compile-bundle-op` op?
0:57:40
Xach
well, i guess i can't find the code that caused me problems with ptys on macos, so i guess i should stop complaining