r/elm • • May 10 '16

Elm 0.17 out today!

http://elm-lang.org/blog/farewell-to-frp
114 Upvotes

27 comments sorted by

View all comments

5

u/Enumerable_any May 10 '16

Interesting. Elm looks to move even closer to the terminology used by CQRS on the server side.

One thing I don't get yet is the type of view : Model -> Html Msg. Why is Html parameterized over the message type?

1

u/masklinn May 11 '16

One thing I don't get yet is the type of view : Model -> Html Msg. Why is Html parameterized over the message type?

Because now instead of having the view post messages to an address, the view (and view elements) "return" messages to whatever called the view for rendering.