[elm-discuss] Re: Status update and multiple application servers

2017-06-09 Thread Matt Hughes
Hi, Elm programs are compiled to JavaScript and run in the browser, not on the server. Elm provides libraries for using HTTP and WebSockets to exchange information with a server. Elm is just the programming language, so load balancing, application servers, and so on are out of scope for this

[elm-discuss] Re: List of all members of a union type

2017-05-03 Thread Matt Hughes
At first I wondered if a type is really what you need for this application, as opposed to say a list of strings. Anyway one idea is to write a function to explicitly convert the type to a string. I think this is better than simply taking the type name and making it a string because the string

[elm-discuss] Re: What languages do you write your back-ends in?

2016-09-13 Thread Matt Hughes
I'm just playing around and don't want to learn another language at the moment, so although I'd like to look at Elixir/Phoenix, or F#, or Haskell, or Scala, I'm using Java via Dropwizard. http://www.dropwizard.io/1.0.0/docs/ If you already know Java, it's a fairly lightweight (for Java) way