On Thursday, November 23, 2017 at 2:28:50 AM UTC, Matthieu Pizenberg wrote:
>
>
> Could JsArray.elm by made to work with JavaScript typed arrays? 
>> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays
>>
>
> That was exactly what I was wondering. I peaked at the elm and kernel code 
> and wanted to try to hack something to wrap ArrayBuffer. I got stopped at 
> the step of compiling the elm plateform at master ^^, my system ghc beeing 
> 8.2 and I don't have enough haskell-fu yet to manage multiple haskell 
> versions :)
>

Do you need to rebuild the compiler for this?

I may be wrong, but kernel hacking can be done by using elm-github-install, 
by putting a substitution for elm-lang/core in your elm-package.json like 
this:

    "dependency-sources": {
        "elm-lang/core": "../my-hacked-core"
    }


Then you can try out kernel modifications without needing to rebuild the 
whole Elm distribution?
 

> As a side note, I just went to a NixOS [1] meetup yesterday evening, 
> really cool stuff. I think this nix package manager [2] will help me deal 
> with those dependencies issues!
>

I really want to try NixOS, but it will have to wait until I have a good 
amount of time on my hands to play around with it. 

-- 
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.

Reply via email to