News for hackers. Stuff that matters.
Re:The friendship between Haskell and C by cryptonector on Friday March 17, 2023 @12:15PM (#35199068)
That's allowed in the IO monad, and, really, it's allowed. The idea in Haskell is to have many contexts where side effects are not allowed so that in those contexts your code must be pure, and pure code is easier to write tests for and reason about.

There are no comments on this comment yet.