News for hackers. Stuff that matters.
Re:Resolving the Time Paradox Implied by Functional Programs by jbmilgrom on Sunday December 27, 2020 @09:54PM (#25556268)
> then at the end, the example from elm looks great, but i see lots of impure state being generated (browser, model) or am i missing something?

All functional programs (even if written in Haskel) have side effects - the CPU only has a certain amount of registers that can be used, for example, so any nontrivial program will be constantly overwriting them. That elm program however only exposes pure functions in user land, just like with a Haskel program

There are no comments on this comment yet.