Hacker News new | ask | show | jobs
by eru 687 days ago
You don't need impure functions. You can manage mutation with pure functions just fine. See how Haskell or Clean do that.

(Of course, if you really need impure functions for eg performance, `unsafePerformIO` has you covered in Haskell.)