Using native code in Elm isn't particularly hard (though, you cannot publish such code as an elm package).
My original, and still working, array implementation uses native code (it's a "blessed" library). It's better to use that as a template for any experimentation you might want to do: https://github.com/Skinney/elm-array-exploration torsdag 23. november 2017 11.48.46 UTC+1 skrev Matthieu Pizenberg følgende: > > Do you need to rebuild the compiler for this? >> > > I'm not familiar with so called "native" elm 0.18 code. So I wanted to use > the example given by Robin with `Elm/JsArray.elm` and > `Elm/Kernel/JsArray.js` from elm master branch to try the same thing with > `JsArrayBuffer.[elm/js]`. Since this is code in the master branch only, > which is 0.19 syntax (`elm.json`, "kernel" js code, ...), I cannot compile > it with elm-make from 0.18 branch. > > But it's ok, this need no rush, will try when I have a little more time. > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
