[CM] Probably a bug with call/cc

Christos Vagias chris.actondev at gmail.com
Sun Dec 5 09:52:23 PST 2021


Hi Bil,

I'm working with some http libs & wanted to try call/cc to make some
macro to help with the callback chains, but stumbled upon a possible
bug.

I'm attaching a demo that shows the problem:
- if (main) is called from the loaded file, the call/cc chain doesn't work
- if (main) isn't called at the s7_load_file time, but later from the
repl, it works!

Thanks,
Christos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug-cc.zip
Type: application/zip
Size: 1622 bytes
Desc: not available
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20211205/3c600eef/attachment.zip>


More information about the Cmdist mailing list