[elm-discuss] elm-make commands fails on Freebsd while working on MacOS

2017-11-27 Thread Julien Wazné
Hello, I've having a problem to compile ELM code on Freebsd server while everything is OK on my laptop (MacOS Sierra). Here's the command that fails on freebsd : elm-make --yes --output ../static/vendor/app.js App.elm The error message is : > *I cannot find module 'Users.Model'.* >

Re: [elm-discuss] Re: Randoms as LazyLists

2017-11-27 Thread Mark Hamburg
My bad. Cyclic generator not decoder. Recursive decoders have the same issues. Mark > On Nov 27, 2017, at 8:45 AM, 'Rupert Smith' via Elm Discuss > wrote: > >> On Monday, November 27, 2017 at 4:33:57 PM UTC, Mark Hamburg wrote: >> That page already has an example

Re: [elm-discuss] How to enforce Elm to recreate HTML tags instead of reusing existing tags?

2017-11-27 Thread Kadzuya OKAMOTO
This is what I wanted. Thanks very much! 2017/11/28 午前2:25 "Peter Damoc" : > Use Html.Keyed for managing the troublesome kids. > > Here is your example adapted based on your feedback that it is the age > field that's the problem. > https://ellie-app.com/czbx9WRyDa1/0 > > > > On

Re: [elm-discuss] How to enforce Elm to recreate HTML tags instead of reusing existing tags?

2017-11-27 Thread Peter Damoc
Use Html.Keyed for managing the troublesome kids. Here is your example adapted based on your feedback that it is the age field that's the problem. https://ellie-app.com/czbx9WRyDa1/0 On Mon, Nov 27, 2017 at 7:12 PM, Kadzuya OKAMOTO wrote: > Here is an example app to

[elm-discuss] How to enforce Elm to recreate HTML tags instead of reusing existing tags?

2017-11-27 Thread Kadzuya OKAMOTO
Here is an example app to explain this problem. https://ellie-app.com/c5X3fGFPha1/1 In this example, a popup window flashes unexpectedly when "Tab B" is clicked. The reason why this occurs, I guess, is bellow. * "Tab B" is clicked * Elm tries to reuse HTML tag (in this case the tag of the age

Re: [elm-discuss] Re: Randoms as LazyLists

2017-11-27 Thread 'Rupert Smith' via Elm Discuss
On Monday, November 27, 2017 at 4:33:57 PM UTC, Mark Hamburg wrote: > > That page already has an example built using the decoder APIs so unless > something is changing to disallow the creation of such cyclic decoders, > cycles remain. > I'm looking at the page. I don't see a cyclic example

Re: [elm-discuss] Re: Randoms as LazyLists

2017-11-27 Thread Mark Hamburg
That page already has an example built using the decoder APIs so unless something is changing to disallow the creation of such cyclic decoders, cycles remain. The lifting trick still has a cycle at the end — it has to given the desire to build something recursive —through the functions and

Re: [elm-discuss] JS typed array implementation for elm

2017-11-27 Thread Francisco Ramos
That's great!! Watching the project. Let me know if you need some help with this, or somehow I can contribute with it. Being using TypedArrays for a while already, and in my opinion they are the most thriving way to achieve the best performance in a N-dimensional array implementation, and

[elm-discuss] Re: Array map with start and end

2017-11-27 Thread Matthieu Pizenberg
Following your advice, I came back to elm 0.18 and just started a repository to try to wrap JS typed arrays in elm. I've moved the discussion to a new post [1] since we were drifting from the original post here. Cheers [1] JS typed array implementation for elm:

Re: [elm-discuss] Re: Randoms as LazyLists

2017-11-27 Thread 'Rupert Smith' via Elm Discuss
On Monday, November 27, 2017 at 7:50:01 AM UTC, Mark Hamburg wrote: > > P.S. Cyclic structures can be avoided by having the compiler perform a > strongly connected component analysis (e.g., using Tarjan's algorithm) and > disallowing any SCC's that include anything other than function >