Re:IBM releases Elm-powered app
by fxfan on Thursday January 10, 2019 @01:01AM
(#18871858)
This is actually cool. Scala.js + scalatags has this looking like this:
```
val model = div(
button( onClick := decrement )( "-" ), // decrement is typechecked as being a function of event
div( float := float.letf )( model.toInt ) //left float is typechecked and hence the misspelling is caught at compile time so big changes can be made with confidence
)
```
```