News for hackers. Stuff that matters.
Re:Pen: A programming language for scalable development by tramjoe_ on Thursday September 23, 2021 @03:33PM (#28634107)
From what I just saw on their website it looks like an other way to implement what an IO monad in Haskell gives you, which is to write code that pretends functions that in reality have side effects are pure. This is achieved in part by passing around some Context (World in Haskell) that encapsulates the "state of the world" onto which the side effects act upon.

There are no comments on this comment yet.