Oh sorry, I guess I misread your post. But yeah, Scala alone doesn't make the difference compared to Elixir, it's ZIO or alternatively cat-effect. Scala as a language just enables those libraries to exist and be used ergonomically. I don't see a reason why something similar couldn't happen for the BEAM, but there hasn't be a language that supports those concepts yet.