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

Or use OCaml 5 which has a full algebraic effects system that solves the function coloring problem while still being highly performant.


How do they solve it?


I'm glad you asked: https://lukstafi.github.io/curious-ocaml/new_book.html#chapt...

Basically, any function can handle any effect, they don't need to be marked a special way like async await.




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

Search: