News for hackers. Stuff that matters.
Re:Programming with Effects by lonelappde on Sunday November 24, 2019 @03:26PM (#21623103)
That's what the OP is about: hiding implementations behind an interface.

Effects are different because side effects are impure which is not allowed by default in a pure language. Machinery is needed to hide the effects in effect-managing containers so they don't contaminate pure code.

Re:Programming with Effects by jakear on Monday November 25, 2019 @12:30PM (#21630504)
I understand that, what I’m trying to understand is if there’s a claim being made that such machinery is especially desirable in this circumstance... is this claimed to be “the way you have to do it in pure languages” or “a really nice way of doing it, which is enabled by language purity”?