These are chat archives for ThoughtWorksInc/Binding.scala

13th
Apr 2018
杨博 (Yang Bo)
@Atry
Apr 13 2018 05:40

We now have a StackOverflow badge on the README page, like this:

StackOverflow

Always ask you question about general usage on StackOverflow. Those Q&A are more searchable than GItter.

Andrzej Sołtysik
@asoltysik
Apr 13 2018 11:04
@Atry I've seen a comment in the code about replacing @dom with @html, how will html differ and what's the motivation?
杨博 (Yang Bo)
@Atry
Apr 13 2018 11:29
I thought @dom is not very intuitive, as it changes return types
@dom val i: Binding[Int] = 42
But it seems no one care about that.
So I decide to keep @dom as is, until someone creates a PR to change it.
Andrzej Sołtysik
@asoltysik
Apr 13 2018 12:01
With @html one would have to make it explicit like Binding.pure(42)?
杨博 (Yang Bo)
@Atry
Apr 13 2018 17:56
Binding(42) or Applicative[Binding].pure(42), not Binding.pure(42)