The example I showed was just a little bit different. Paste this code instead:
import Html exposing (..)
import Mouse
main : Signal Html
main =
Signal.map (toString >> Html.text) Mouse.position
https://github.com/evancz/elm-architecture-tutorial/blob/master/examples/1/Counter.elm