[elm-discuss] Correctly Integrate Elm with Template Engine Backend

2017-02-21 Thread Kiswono Prayogo
Hi, i have a backend service that I wrote in Golang, something like this: func PageA_RequestHandler(ctx *W.Context) { // init things if is_ajax { // handle the API request, render the JSON return } // query the initial rows values := M.SX{ `rows`: model1.GetRows(10), } //

[elm-discuss] Re: Is Elm weekly still up?

2017-02-21 Thread Scott Mueller
How do we subscribe to the newsletter? Feedly didn't recognize it as a feed and I see no place to put my email address. On Monday, February 20, 2017 at 4:17:53 PM UTC-8, Jacob Oakes wrote: > > If anyone is looking for an alternative, you might take a look at > http://elm-news.com/newsletters. It

[elm-discuss] Re: Is Elm weekly still up?

2017-02-21 Thread Vlad GURDIGA
Nice! Thank you! 8-) -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d

Re: [elm-discuss] Re: Divide by zero?

2017-02-21 Thread 'Rupert Smith' via Elm Discuss
On Tuesday, February 21, 2017 at 11:43:49 AM UTC, Jakub Hampl wrote: > > If you have such a case where correctness is much more important than > ergonomics, nothing is stopping you from creating your own type that > performs maths safely and using it through out your app. > > For many apps the e

[elm-discuss] Re: Is Elm weekly still up?

2017-02-21 Thread Wyatt Benno
Thank you Jacob! -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/opt

Re: [elm-discuss] Re: Divide by zero?

2017-02-21 Thread Jakub Hampl
If you have such a case where correctness is much more important than ergonomics, nothing is stopping you from creating your own type that performs maths safely and using it through out your app. For many apps the ergonomic impact of that would be too large, so this is not done. On Tuesday, 2

Re: [elm-discuss] Re: Divide by zero?

2017-02-21 Thread 'Rupert Smith' via Elm Discuss
On Tuesday, February 21, 2017 at 2:19:33 AM UTC, Max Goldstein wrote: > > I don't think anyone likes that 2 // 0 == 0, but no one has a better idea. > I have a better idea. Make it a runtime error and halt the program. -- You received this message because you are subscribed to the Google Group

Re: [elm-discuss] Is type inference in Elm fully decideable?

2017-02-21 Thread 'Rupert Smith' via Elm Discuss
On Tuesday, February 21, 2017 at 2:16:55 AM UTC, Max Goldstein wrote: > > Records can still be useful in union types if you have more than a few > fields, or multiple fields of the same type. Often you write a function > that updates a record by looking at a select few fields and it never needs