regenerator icon indicating copy to clipboard operation
regenerator copied to clipboard

Compile to pure function

Open dtornow opened this issue 1 year ago • 0 comments

Hello,

I have a question: Is regenerator a good starting point to compile a coroutine into a pure function akin to

next : (State x Value) -> (State x Value)

Here, State would be JSON serializable.

That way, we'd have serializable continuations.

Is that possible or does that amount to a complete rewrite?

dtornow avatar Mar 29 '23 02:03 dtornow