Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile to pure function #660

Open
dtornow opened this issue Mar 29, 2023 · 0 comments
Open

Compile to pure function #660

dtornow opened this issue Mar 29, 2023 · 0 comments

Comments

@dtornow
Copy link

dtornow commented Mar 29, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant