The document discusses Functional Reactive Programming (FRP). It provides an overview of FRP, explaining that it is a programming paradigm for reactive programming using functional programming techniques. It contrasts the treatment of values and events in FRP compared to traditional programming by treating events as values that change over time. Examples are given showing how FRP reacts to changes in values.
13. ????????????????????????
???????
??FRP???
var a = 1;
var b = a + 1;
a = 10;
console.log(b) // => 2
?FRP???
var a = 1;
var b = a + 1;
a = 10;
console.log(b) // => 11
14. ????????????????????????
???????
??FRP???
var a = 1;
var b = a + 1;
a = 10;
console.log(b) // => 2
?FRP???
var a = 1;
var b = a + 1;
a = 10;
console.log(b) // => 11
FRP??????????????????
b = a + 1 ????????????
15. ????????????????????????
???????
??FRP???
var a = 1;
var b = a + 1;
a = 10;
console.log(b) // => 2
?FRP???
var a = 1;
var b = a + 1;
a = 10;
console.log(b) // => 11
FRP??????????????????
b = a + 1 ????????????
Excel ? A1??? =B2+C3?????A1??????B2?C3????????
????????????????????