Hi,
When talking about the Observer pattern I was thinking in the case that appears in the reactive programming entry in Wikipedia (http://en.wikipedia.org/wiki/Reactive_programming).
If we have a reactive setting then the sentence
a := b + c
could mean that there is a dynamic data flow from the values b and c to the value a, so whenever b or c change, a is automatically changed.
This has similarities to the OO Observer pattern (in fact, you can implement it using the pattern) and is also supported in some new scripting languages as JavaFX.
It seems that some goals of reactive programming are shared with the goals of the Observer pattern. Are they actually related? Maybe this relationship is between the pattern and reactive programming in general, not FRP. Is this so or is Wikipedia just wrong about that? Anyway, is it possible to implement something alike the a := b + c case using Reactive or any oher FRP package? Can someone show any example?
Thanks,
Alvaro.