Hacker News new | ask | show | jobs
by iamwil 396 days ago
Full blown algebraic effects are multi-shot, meaning you can resume from the same raised effect multiple times. Generators can only resume from a point in the execution a single time.

But yes, you can implement single-shot effects with generators.