Hacker News new | ask | show | jobs
by yazzku 576 days 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.
1 comments

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