Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: