Elm - General Discussion, Blog Posts, Wiki

http://noredink.github.io/posts/elminteropelixir.html

A better API for Elm with Elixir

In this blog post, I’m going to outline one of the ideas for improving Elm integration with Elixir. These things could also apply to other backend stacks, but right now we’re focusing on Elixir with Phoenix.

Union types are a way of representing a set of possible “things”. In Elm, you might be most familiar for using them for pattern matching for actions to figure out what just happened in your update function. For example, you might have…

3 Likes