Replies: 1 comment
-
My interpretation of #183 was the simple post-CPS generation of this stuff; insert a type, install it in the continuation, etc. I think we can be flexible with respect to the type, but I don't want to bury it in the environment. Even with the inspector, it's just a PITA and we paid good money for the I'd also want to rethink how hooks work and either put them into the same state machine semantic or develop a new way to specify/implement them. I know hooks are not a popular feature, but if they are too expensive to maintain, I think that's the fault of the implementor and not the fact that they are not valuable enough to justify an implementation. So let's try to fix that or convince each other that they need to be removed fully. |
Beta Was this translation helpful? Give feedback.
-
The idea is to use state enums to delimit continuations, the benefits are simple:
This is a big change and how to represent the enum is still an open question (ie. if its in
Continuation
, then it must be a generic type likeint
).The priority on this is undecided, might be after generics.
Beta Was this translation helpful? Give feedback.
All reactions