Re: [elm-discuss] Json file size

2017-08-10 Thread Peter Damoc
Use the dictionary as a JS service. You can load the dictionary in JS and use ports to interrogate it. https://ellie-app.com/3Z8hSkXxxBGa1/0 If you like to live dangerously you can also use Kernel code to interrogate the JS dictionary datastructure synchronously. Since the dictionary is fixed, th

[elm-discuss] Json file size

2017-08-10 Thread David Legard
I have been porting a language translation engine from HTML/JS to Elm, and it was easy to implement. The problem is that the dictionary contains 15,000 word pairs. I can't include those items as Elm files (since Elm-make runs out of memory), so I decided to put them in a JSON file and import th