News for hackers. Stuff that matters.
Re:Inventing Monads by 08-15 on Saturday August 29, 2020 @11:31PM (#24321145)
> the monad is only kinda building a graph to be evaluated

That's what the free monad does. Not every monad is a free monad, IO certainly isn't.

Re:Inventing Monads by edflsafoiewq on Sunday August 30, 2020 @12:23AM (#24321351)
Why isn't IO free?
Re:Inventing Monads by 08-15 on Sunday August 30, 2020 @02:52AM (#24321833)
Come think about it, it could be. That's not how it's implemented in any Haskell implementation I know of.