Re: [elm-discuss] Re: Why Range syntax got removed in favor of List.range

2016-11-13 Thread 'Andrew Radford' via Elm Discuss
Not really, with familiar symbols, you can construct very unreadable things. On Sunday, 13 November 2016 22:32:12 UTC, Francesco Orsenigo wrote: > > What do you mean with "suits best"? > Readability is largely a matter of familiarity. > -- You received this message because you are subscribed

[elm-discuss] How are you handling images references in Elm with Webpack?

2016-11-13 Thread Birowsky
I'm trying to make Elm work with images through Webpack. Here's my first struggle: http://stackoverflow.com/q/40580968/592641 How do you configure Webpack to rename the images references in the compiled elm js with the appropriate hashes? Just.. how do you work with images and webpack? :}

Re: [elm-discuss] Re: Correct use of port subscriptions in a submodule reused multiple times?

2016-11-13 Thread Witold Szczerba
Hi Wouter, you said: > My own productivity in Elm has improved enormously since moving to flat instead of nested, and moving away from components. I am trying to get my head around Elm for some time, did not have an opportunity to test drive it until recently. It's still extremely small

Re: [elm-discuss] Re: Convincing my team that Elm isn't just going to die like CoffeeScript

2016-11-13 Thread Michael B
I thought it might be clear enough from the title: "Number of Elm repos created on Github by month". Eg: There were 470 new Elm projects created on Github last month. Similarly, there were 8000+ commits to Elm projects last month. A Y-Axis title would make it much clearer though - I'll see what

Re: [elm-discuss] Re: Why Range syntax got removed in favor of List.range

2016-11-13 Thread joseph ni
The _real_ question is why List.Range only increments, List.Range 5 1 = [ ] On Monday, 14 November 2016 09:32:12 UTC+11, Francesco Orsenigo wrote: > > What do you mean with "suits best"? > Readability is largely a matter of familiarity. > > On Mon, Nov 14, 2016 at 9:21 AM, 'Andrew Radford' via

[elm-discuss] Re: Why Range syntax got removed in favor of List.range

2016-11-13 Thread Francesco Orsenigo
Why would you want two different (and entirely equivalent) solutions to the same problem? On Monday, November 14, 2016 at 8:37:34 AM UTC+11, Andrew Radford wrote: > > Yeah It would be great if there was [x..y] and Range > >> >>> -- You received this message because you are subscribed to the

[elm-discuss] Re: Why Range syntax got removed in favor of List.range

2016-11-13 Thread 'Andrew Radford' via Elm Discuss
Yeah It would be great if there was [x..y] and Range On Sunday, 13 November 2016 19:04:52 UTC, Robin Heggelund Hansen wrote: > > Fixing the docs could of course be done, and you're right, it's not > something that's hard to understand. However, the question you should be > asking is "is there

Re: [elm-discuss] Re: Update Delay

2016-11-13 Thread John Orford
My mistake! I was querying the previous list of strings rather than the updated one. Good exercise though, simplifying helped me find the bug On Sun, 13 Nov 2016 at 19:48, John Orford wrote: > I have attached a simple example. > > I have a model with a field called

[elm-discuss] Re: Why Range syntax got removed in favor of List.range

2016-11-13 Thread Robin Heggelund Hansen
Fixing the docs could of course be done, and you're right, it's not something that's hard to understand. However, the question you should be asking is "is there any reason why range isn't a function to begin with?" søndag 13. november 2016 16.58.32 UTC+1 skrev أحمد حبنكة følgende: > > > >

Re: [elm-discuss] Re: Update Delay

2016-11-13 Thread John Orford
I have attached a simple example. I have a model with a field called 'currentQueryTips'. A list is filtered using the current query string, coming through an input field. If you run the test you will see that the view is always one step behind the input. In a previous iteration, I had the

[elm-discuss] Re: Parallelism support in Elm

2016-11-13 Thread 'Rolf Sievers' via Elm Discuss
The Process documentation has a section on Future plans: http://package.elm-lang.org/packages/elm-lang/core/4.0.5/Process I believe actual parallelism in elm will take quite a while. Before it is implemented, the Elm community needs to think about “What would we use it for?” and use

Re: [elm-discuss] Re: Convincing my team that Elm isn't just going to die like CoffeeScript

2016-11-13 Thread Mario Sangiorgio
I'd add a scale on the y axis. It would be useful to know what kind of numbers we're talking about. Said that, good gob. That's an interesting project. On Sun, Nov 13, 2016 at 5:41 AM Michael B wrote: > I just released http://elmalytics.xyz, which has some statistics on Elm

[elm-discuss] Re: Why Range syntax got removed in favor of List.range

2016-11-13 Thread أحمد حبنكة
بتاريخ الأحد، 13 نوفمبر، 2016 1:53:05 ص UTC+2، كتب أحمد حبنكة: > > I was reading the elm-dev list and I knew that elm 0.18 removed the range > syntax, so code like this : > [2..3] > won't work anymore. > > I want to know what are the foundations behind this decision ? > hmmm if it is "can't

[elm-discuss] Re: Parallelism support in Elm

2016-11-13 Thread أحمد حبنكة
well what would someone use web workers for ? why did they make it into the standard ? I think that a multithreaded model is needed for some html5 applications if we care about performance and utilizing multiple cores. I agree that for many applications especially where the business logic is

[elm-discuss] Combining className lists at the Attribute level

2016-11-13 Thread Mark Skipper
Hi, this happened to me recently and I'd like some advice from this group: I find myself wanting to combine html attributes from two sources, specifically lists of classes for an input field. A view, with access to model state, uses classList to generate classes that pull in state based

Re: [elm-discuss] Re: Errors when using Chart.js in a port subscription

2016-11-13 Thread Austin Bingham
That definitely looks like it would address the issues I'm seeing. Thanks for pointing it out! ‪On Sun, Nov 13, 2016 at 12:53 AM ‫أحمد حبنكة‬‎ wrote:‬ > > > بتاريخ الأربعاء، 9 نوفمبر، 2016 10:11:06 ص UTC+2، كتب Austin Bingham: > > I'm trying to use Chart.js from my elm