evancz / elm-todomvc

The TodoMVC app written in Elm, nice example for beginners.
http://evancz.github.io/elm-todomvc/
BSD 3-Clause "New" or "Revised" License
1.22k stars 329 forks source link

No longer compiles (main expects Signal Element) #14

Closed AdrianoFerrari closed 9 years ago

AdrianoFerrari commented 9 years ago

Cloning this and running elm-make Todo.elm installs 1.1.0 of core, elm-html, and virtual-dom, but I still get:

Error in Todo.elm:

Type Error: 'main' must have type Element or (Signal Element).

Instead 'main' has type:
    Signal.Signal Html.Html

Could it be that all the examples have been switched to "main gets Html", but 1.1.0 still expects Element?

AdrianoFerrari commented 9 years ago

Silly mistake: upgrade to elm 0.14.1 needed.

evancz commented 9 years ago

No worries, it was a fairly quiet announcement. Glad it's working for you again!