Summary
In this chapter, we further deepened the main concepts of FRP.
In the first part, we presented the main differences between the discrete and continuous components, showing both theoretical analysis and examples of code. Afterward, we discussed the time flow and the asynchronous data flow. Then, we introduced Computation Expressions and also the concept of Monad.
In the second and last half of the chapter, we discussed the flow of choices, Railway-oriented Programming, and finally, the module Observable
.
On reaching this point, we acquired all theoretical basic information to apply Reactive Programming and Functional Reactive Programming.
It is fundamental to understand how much these two paradigms are continuously intertwined. In fact, talking about Linq and Rx is almost the same as FRP and vice versa.
On the Web, there are not many concrete examples about using FRP through F# language. However, with little practice and knowledge of functional language Haskell, on the site Microsoft...