News for hackers. Stuff that matters.
Re:Why functional programming matters (1990) [pdf] by dragonwriter on Thursday May 07, 2015 @12:52PM (#9506457)
> The literal translation into Haskell needs the state monad, despite referential transparency.

Sure, literally translating imperative procedures into Haskell code often needs the State monad since imperative procedures gratuitously use state modifications that are logically unnecessary for their function.

But I'm not sure why any meaning should be ascribed to this beyond "translate function, not code".

There are no comments on this comment yet.