These are chat archives for ThoughtWorksInc/Binding.scala
General questions should be asked on StackOverflow, not here. This room focuses on development of Binding.scala.
Also Binding.scala's Monad implementation is pure functional, does not break monad law.
On the other hand, I know
Scala.rx are Monix's
Observable are impure.
In Binding.scala, everything does not have side effects
I'm I right saying this excludes the
Var#:= and the analogous methods on
flatMapdoes not have side effects, until ...
flatMap, in particular a
foldpà la Elm which is quite powerful
foldpbecause it yields different results at different time, for the same data source.
foldpwill break the fundamental of data-binding
foldpbreaks Applicative law on diamond-dependency because you must explicit choose one branch to be evaluated first.