I probably confused things and my previous post is not correct. OK, put things other ways. I have a GUI app which starts REPL in another thread. Is there a way to call a thunk in that REPL from the GUI app? Basically, I want it to exit gracefully by calling (quit) in the REPL before GUI exits.
-- Vladimir