10 ms·
Right. Without state using only pure functions, you get to ignore change and time, therefore even the notion of "reactive programming" is not very meaningful.
by seanmcdirmid 12y ago
Right. Without state using only pure functions, you get to ignore change and time, therefore even the notion of "reactive programming" is not very meaningful.
- tinco 12y agoThat functions are pure means that their inputs and outputs are well defined, not that they ignore or don't work with things like state or time. Before monads were 'invented' for functional programming, reactive programming (or stream based I/O) was the only way of handling state and side effects in Haskell.