[elm-discuss] Re: Json file size

2017-08-14 Thread Steve Schafer
I think your problem is this bug: https://github.com/elm-lang/elm-compiler/issues/1521 The workaround is to disable the Elm debugger. On Friday, August 11, 2017 at 5:03:41 AM UTC-4, David Legard wrote: > > Thanks, I'll look through that code. > > A couple of minor points -- I am not using a Dic

[elm-discuss] Re: Using extensible records for optional attributes?

2017-08-14 Thread 'Rupert Smith' via Elm Discuss
On Wednesday, August 2, 2017 at 4:17:49 AM UTC+1, Mike Austin wrote: > > I'm curious if it's possible to use extensible records for HTML attributes > instead of lists of function application such as [id "foo", class "bar"]? > I've poked around a bit, but didn't find too much on specifically this.

[elm-discuss] Re: Json file size

2017-08-14 Thread David Legard
I ended up going the JS/ports route and it works fine now, so thanks for the suggestion. It was quite a shock going back to the catalogue of atrocities that is Javascript after so long writing in Elm. It was like being thrown back into a medieval time of druids and burning witches. Twenty lines

[elm-discuss] Re: Json file size

2017-08-14 Thread David Legard
The other 2 modes of doing this failed as follows: 1) db.json. The JSON loaded fine, according to the Debug.log, but the program failed on the first user input. That is, when I changed the input [textarea [cols 70,rows 20,placeholder "Enter text here", onInput Change ] [] ... Change s -> ({m