logoalt Hacker News

jmalicki • yesterday at 7:25 PM • 2 replies • view on HN

I'm assuming they mean Scala doesn't have the tortured Haskell IO monad.


Replies

pdpi • yesterday at 8:13 PM

Scala doesn't have an IO monad by default, but ZIO, CatsEffect, and probably others are fairly popular in at least some parts of the community. IMO it's kind of the worst of both worlds (all the complexity, none of the guarantees), but it's definitely there.

troupo • yesterday at 8:06 PM

Oh. It does. https://github.com/zio/zio

Thankfully, not in the core language :)

➕ show 1 reply