Writing stateful effect handlers in EYG
Summary
The article explains stateful effect handlers in the EYG language, showing how to manage shared state across effects with examples like Increment and Update. It covers generic and shared-state approaches, returning functions caveats, and reasons to avoid returning functions from effects. It includes code samples and notes on type-system considerations.