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

2016-09-11 Thread Nathan Schultz
+1 to F#. Being a CAML based strongly typed functional language with type inference, it bears more than a passing resemblance to Elm. In fact in patches the two are almost indistinguishable. However, I do think it depends on your pedigree; developers will tend to reach for what they're familiar

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

2016-09-11 Thread Kasey Speakman
F# On Saturday, September 10, 2016 at 2:41:22 AM UTC-5, Mario Sangiorgio wrote: > > Hello, > > I was wondering what programming language you use to implement the > back-end for your Elm single page web app. > > Reading around I see that the Elm/Elixir combo is popular but for how much > I think

[elm-discuss] Re: Pairing Session Video: Josh Adams and Luke Westby pairing on server-side-validations

2016-09-11 Thread Pavan Rikhi
There's some junk on the end of that URL: https://www.dailydrip.com/topics/elm/drips/server-side-validations On Saturday, September 10, 2016 at 3:07:37 AM UTC-4, Maxwell Gurewitz wrote: > > I think the video link is broken. > > On Friday, September 9, 2016 at 7:33:36 AM UTC-7, Josh Adams wrote: >

[elm-discuss] Syntax suggestion: record property shorthand

2016-09-11 Thread Hyunje Jun
Hello, I have uploaded on elm-compiler GH Issues, but I would like to share the idea and gather comments. https://github.com/elm-lang/elm-compiler/issues/1483 In short, it is about adopting JS-like syntax for objects to Elm records. { model | foo = foo, bar = bar } -> { model | foo, bar } I u

[elm-discuss] Re: Request: loosen syntactic constraints on base-record in record extend/update syntax

2016-09-11 Thread Martin Cerny
Hi, hope its polite to bump up an old thread like this - if not, please accept my apologies. I have been struggling with the record update syntax for a while and wanted to share another use case which I think could be made better. So let's say I want to populate a list of objects of the same typ

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

2016-09-11 Thread Pavan Rikhi
On Saturday, September 10, 2016 at 3:41:22 AM UTC-4, Mario Sangiorgio wrote: > If you're not using Elixir, to what do you use? I played a bit with F# > (using Suave.io) and I think it's quite nice. > Now I'm in the mood of learning something new so I'd like to know what you > use and maybe get

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

2016-09-11 Thread Eric G
Python at the moment (on Google App Engine), increasingly written in a Elm-y/monadic style ;) On Sunday, September 11, 2016 at 12:36:03 PM UTC-4, John Mayer wrote: > > I'll buck the trend and share that I'm happily using Java 8 as my backend. > I use protocol buffers over websockets to communic

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

2016-09-11 Thread John Mayer
I'll buck the trend and share that I'm happily using Java 8 as my backend. I use protocol buffers over websockets to communicate. https://github.com/jmpspace/jmpspace https://github.com/johnpmayer/elm-protoc On Sep 10, 2016 3:41 AM, "Mario Sangiorgio" wrote: > Hello, > > I was wondering what p

[elm-discuss] Services (with corrected formatting)

2016-09-11 Thread Oliver Searle-Barnes
*Apologies for the repost, I missed off the formatting in the original post, and as we're using google groups, there's no edit... Hopefully mods can delete the original.* This is following on from the discussion "Private state: A contrived example". It was going to be a reply but it got rather

[elm-discuss] Re: Server Side Rendering with Node

2016-09-11 Thread Jaroslaw Zabiello
See "Phoenix + React: love story. RePh 1" https://medium.com/@chvanikoff/phoenix-react-love-story-reph-1-c68512cfe18#.asjcu64ha On Sunday, August 28, 2016 at 6:09:46 PM UTC+1, Robert S wrote: > > Hey, I'm going to move my 23KLOC (Coffeescript) angular 1.5 SPA > application to... primarily React+

[elm-discuss] Services

2016-09-11 Thread Oliver Searle-Barnes
This is following on from the discussion "Private state: A contrived example". It was going to be a reply but it got rather long and seems like a large enough topic by itself. I'm currently working on a Store service. It's an abstraction over a websocket that provides an API for persisting busi

[elm-discuss] Re: Sort a list of strings independant of case

2016-09-11 Thread Sergey Zubtsovskiy
I see. I am not questioning usage of sortBy, my point was to provide an alternative solution to what the post's author suggested because I thought that direct implementation with List.map and then sort may be not suitable in some cases. Great that there is a better way but @Rudolf was asking for a