missionary

whilo 2025-10-23T08:00:38.377659Z

I am curious how difficult it would be to swap out cloroutine for https://github.com/simm-is/partial-cps (or other CPS transforms, I just happen to experiment with this one to provide a lazy query engine for Datahike and it would be cool to use a uniform transform + FRP maybe). I could get a basic version of sp to work this way, but still need to investigate how to integrate streams and ap.

leonoel 2025-12-01T20:00:42.699889Z

leonoel 2025-12-01T20:00:49.814909Z

https://github.com/leonoel/partial-cps I have pushed an experiment exposing a way to decide if the continuation can be computed synchronously, i.e. the feature I need to implement "lazy ap". The set of breakpoints present in the current continuation is now accessible in the context map under entry :reachable-breakpoints. I also turned the breakpoint map shape to symbol->function (instead of symbol -> symbol), this allows handlers to close over local state, which I need to refer to the current process object. There is probably missing edge cases but that should give you an idea of what I'm looking for

leonoel 2025-10-24T07:09:39.189239Z

I'm interested too. I haven't looked at it yet but it's on my backlog, I'll keep you posted

👍 1
whilo 2025-10-24T08:29:16.525089Z

cool! thanks

whilo 2025-10-24T08:29:32.406859Z

no rush