3 ms·
> the Haskell-aligned habit of asserting that functional matches how you think about code, while pointing at an IO system that involves a function taking the ob
by josephcsible 5y ago
> the Haskell-aligned habit of asserting that functional matches how you think about code, while pointing at an IO system that involves a function taking the observable universe and returning a modified copy of it)
The idea is that most code is pure, so we accept a slightly inferior model for code that does IO, in exchange for a significantly superior model for pure code.
- pie_flavor 5y agoAnd the idea is generally wrong; you can mangle code into a pure shape but the conceptual model does usually involve mutation.