Hacker News new | ask | show | jobs
by zokier 28 days ago
I don't think effects alone solve function coloring problem, in worst case they make it worse because every library can have its own colors
1 comments

Effects solve it in the sense that the caller can handle the effects to work however they like, making the functions that use the effects more reusable.

E.g., if you install IO handlers that are async and call a function that does IO, it's now an async function.