Re: [elm-discuss] Re: Again: which editor do you like best for Elm?

2017-02-06 Thread GordonBGood
On Tuesday, 7 February 2017 03:22:53 UTC+7, Dave Rapin wrote: > > MS bought Xamarin, who made Mono (http://www.mono-project.com/), which > allows you to target Linux, iOS, Android w/ .NET. They seem to be > embracing Linux for the last couple of years. Hell you even get a > Linux within Windows

[elm-discuss] Re: Refactoring application to extract model, update and some actions

2017-02-06 Thread 'Rupert Smith' via Elm Discuss
On Saturday, February 4, 2017 at 11:29:44 PM UTC, Pierre-Henri Trivier wrote: > > To anyone reading, I might have solved it myself : > https://phtrivier.github.io/2017/02/05/elm-tail-end-part-5.html > I think it is good that the Period module that you pulled out is completely hidden behind

[elm-discuss] Re: Refactoring application to extract model, update and some actions

2017-02-06 Thread 'Rupert Smith' via Elm Discuss
On Sunday, February 5, 2017 at 9:37:54 PM UTC, Keith Lazuka wrote: > > One question you might or might not have asked yourself is whether the > encapsulation is worth it. Why should the `Period` state be hidden with an > opaque type? If you're writing a library, then, yes, it makes total sense

Re: [elm-discuss] Re: Again: which editor do you like best for Elm?

2017-02-06 Thread Dave Rapin
MS bought Xamarin, who made Mono (http://www.mono-project.com/), which allows you to target Linux, iOS, Android w/ .NET. They seem to be embracing Linux for the last couple of years. Hell you even get a Linux within Windows 10 now if you opt in (https://github.com/ethanhs/WSL-Programs). On Mon,

[elm-discuss] Re: Refactoring application to extract model, update and some actions

2017-02-06 Thread 'Rupert Smith' via Elm Discuss
On Saturday, February 4, 2017 at 11:29:44 PM UTC, Pierre-Henri Trivier wrote: > > To anyone reading, I might have solved it myself : > https://phtrivier.github.io/2017/02/05/elm-tail-end-part-5.html > What you are referring to as a callback is often called a 'tagger' in Elm. I don't think this

[elm-discuss] Re: Again: which editor do you like best for Elm?

2017-02-06 Thread 'Rupert Smith' via Elm Discuss
On Saturday, February 4, 2017 at 7:35:37 AM UTC, GordonBGood wrote: > I'm using Visual Studio Code with the Elm plug-in. Works pretty well. > BTW, does the fact that Microsoft have VS Code for Linux mean that Microsoft now fully supports .Net on Linux too? This is a development I haven't

[elm-discuss] Re: 0.18 Chaining Http requests

2017-02-06 Thread Kingsley Hendrickse
Oh that's exactly what I needed to understand :) thanks -- 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

[elm-discuss] Re: 0.18 Chaining Http requests

2017-02-06 Thread Dmitry Utkin
I guess what you need here is Task.andThen http://package.elm-lang.org/packages/elm-lang/core/latest/Task#andThen See this snippet I've found on github https://github.com/fpapado/elm-flickr-gallery/blob/c040f61575f4f47ce216df1820b42d1751ccdb7a/src/Main.elm#L56 Hope it helps. On Monday,

[elm-discuss] Re: Giving elm-vim some love

2017-02-06 Thread Noah Gordon
As an exclusive vim user, this is something I'm interested in. I have zero vimscript but I'm willing to learn and give it a stab. On Monday, February 6, 2017 at 12:17:18 AM UTC-5, Max Goldstein wrote: > > I would love to see better vim support, but I don't have the vimscript > knowledge either

[elm-discuss] Re: Elm Routing with Navigation in 0.18

2017-02-06 Thread Wouter In t Velt
Op zondag 5 februari 2017 20:51:03 UTC+1 schreef Kingsley Hendrickse: > > I'm struggling a bit to get what I want out of the Route and Navigation > libraries. > Some time ago, I wrote a couple of posts diving into Navigation and Routing in Elm:

[elm-discuss] Re: 0.18 Chaining Http requests

2017-02-06 Thread Matthieu Pizenberg
Hi Kingsley, Regarding point 2, the Http.send function enables you to create Cmd messages from http requests, and as you mentionned, Cmd.batch

[elm-discuss] Re: Elm Routing with Navigation in 0.18

2017-02-06 Thread Kingsley Hendrickse
Ah awesome thanks - that's very helpul On Sunday, 5 February 2017 21:57:36 UTC, Keith Lazuka wrote: > > In terms of sending an HTTP request when navigating to the Login page, you > should be able to do that by returning an Http Cmd in your `update` > function. > > Elm's Navigation library

[elm-discuss] Re: 0.18 Chaining Http requests

2017-02-06 Thread Kingsley Hendrickse
Thanks I don't quite understand how to chain using Task I want to first do getCurrentUser Http request and then do notifyOnLocationChange a regular task - but I can't understand how Task could do this. Even chaining 2 http requests I don't understand since in order to fire a Task you have use

Re: [elm-discuss] elm-lang/http and evancz/elm-http

2017-02-06 Thread Gordon Klaus
Sure enough. I'll close mine. On Sun, Feb 5, 2017 at 9:45 PM, Nick H wrote: > Gordon, I think I beat you to it. https://github.com/evancz/elm- > http/pull/54 > > On Sat, Feb 4, 2017 at 2:59 AM, Gordon Klaus > wrote: > >> I also stumbled over