Blog

Adventures in Elm - Back into the fray.

Since the last post, a new job hit, as well as summer with its surf lifesaving duties, so I just haven't had time to look at this.

In the last half year there have been a few changes in the community, and a new version of the compiler (0.16.0) implementing some changes in the language.

There've also been some new Elm projects come along to assist in bootstrapping and running new Elm projects; such as elm-ui, elm-server and elm-generator-spa.

After installing the newest version and trying to rebuild, there were some new things to fix up. Some of the packages are now in elm-community, including and especially elm-webgl.

Rather than fixing up first-person.elm to work with the new compiler, it's easier to use elm-community/elm-webgl/examples/first-person.elm, where the work has already been done.

Revised checklist:

  • copy over elm-community/elm-webgl/examples/first-person.elm
  • fix up elm-package.json
  • remove the functionality I don't care about e.g. jumping
  • use evancz/first-person-elm to guide me in rewriting the functionality I do care about e.g. rotating the view.
  • CI using TravisCI
  • Continuously deploy the built application to gh-pages