# \#coroutines

**URL:** https://discuss.ocaml.org/tag/coroutines/697.md

[Latest](https://discuss.ocaml.org/latest.md) · [Categories](https://discuss.ocaml.org/categories.md) · [Tags](https://discuss.ocaml.org/tags.md)

---

## [Implementing simple generators with effect handlers](https://discuss.ocaml.org/t/implementing-simple-generators-with-effect-handlers/16020)

<div class="topic-metadata">

**Author:** [@bsidhom](https://discuss.ocaml.org/u/bsidhom)\
**Replies:** 12\
**Last updated:** [January 27, 2025, 3:26pm UTC](https://discuss.ocaml.org/t/implementing-simple-generators-with-effect-handlers/16020 "2025-01-27T15:26:04Z")

</div>

I was excited to see that 5.3.0 brought simplified syntax for deep effect handlers, as I hoped this would help ease the pain of implementing generators (coroutines) in OCaml user code. Unfortunately, I have not figured o…
