4 ms·
> Pure functions are best of course, but you can't build real-world things entirely from pure functions. That's just plain wrong. There's even a language buil
by louthy 2y ago
> Pure functions are best of course, but you can't build real-world things entirely from pure functions.
That's just plain wrong. There's even a language built entirely around pure functions: Haskell.
- flohofwoe 2y agoHow do you talk to typical OS-, IO- or GUI-APIs (which all essentially represent global mutable state) in Haskell with pure functional code?