Bacon.js inspired FRP library with less memory consumption