3 ms·
Pure functional only takes you so far. If you’re using transient servers to process http queries that has no local state, then the frp abstractions are probably
by bsaul 9y ago
Pure functional only takes you so far. If you’re using transient servers to process http queries that has no local state, then the frp abstractions are probably a good fit.
When you’re dealing with an app or a single page web app, you’re spending the whole user session mutating one big state (represented on the UI). Every events are going to apply some diff over that big state, and so what you have in practice is a stream of effects.
- proc0 9y agoFRP is purely functional. Side effects can be managed with pure functions using Monads, and Streams are also Monads because of the interface they implement.