。RP,面向异步事件流的编程,这个异步事件流叫:Observable,一般叫:StreamStream就是一个 按时间排序的Events(Ongoing events ordered in time)序列Stream是不可变(Immutability)的,任何操作都返回新的Stream, 且它是一个Monad(它有map和flatMap方法)。FRP的关注点在Stream,而FP的关注点在(Type, Operate),Stream -> (Type, Operate)是一种泛化(generic),(Type, Operate) -> Stream 是一种派生。RP本身是建立于观察者模式之上的一种编程范式(级别同MV*),FP则更偏向底层解决一般化问题。引用wiki上的一句话:Functional reactive programming (FRP) is a programming paradigm for reactive programming on functional programming.
。composing asynchronous and event-based programs using observable sequences
。sequences of data/events
。Reactive-Streams specification 规范
。https://github.com/ReactiveX/RxJava
。http://projectreactor.io/