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

Help me with a tl;dr here, but are effects just monads?




Great question! But no, they are not the same, despite some similarities.

In Unison, effects are called abilities, and they wrote a very good post explaining the differences!

https://www.unison-lang.org/docs/fundamentals/abilities/for-...

In summary: both have advantages and disadvantages. Which one is "better" depends on which factors you value more.




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

Search: