How does Reactive Banana's mapAccum function work?
问题 I have looked at a number answers to questions here on Stack Overflow trying to find a solution to my problem in using the Reactive Banana library. All the answers use some magic using 'mapAccum' that I can't quite understand. Looking at the API documentation all I find is "Efficient combination of accumE and accumB ." which is not very helpful. It seems that this function can be used to compare the values of a Behavior at the time of two consecutive events which is what I'd like to do. But I