(Update 2017-02-26: This is actually covered by the Elm docs, just in a more obscure place than I expected.)
If you just want to call Elm from JavaScript, see the GitHub repository. If you want the full saga of how I learned this, read on…
At RubyConf AU, I heard about Elm, a functional programming language based on JavaScript.
Now, I recently started building a set of command-line tools that are pure functions (i.e. they don’t keep running or change things, just process and return their input). These are currently in Ruby, but I’d like to use them for a browser app eventually, so I need something I can call from
Pure function? Callable from JavaScript?
Seems like a job for a