Remix.run Logo
yazzku 7 months ago

You don't need coroutines or async or anything complicated to model monads, just functions and data structures. Search for "c++ monads" and you'll find a ton of examples.

greener_grass 7 months ago | parent [-]

You need the syntax if you want it to actually work well in practice.