Re:Elm, Elixir, and Phoenix: Reflecting on a Functional Full...
by pseudonom- on Monday March 05, 2018 @11:51AM
(#16522336)
Are you confused or am I confused? Elm does ship it's own runtime and standard library. Or at least it used to.
Re:Elm, Elixir, and Phoenix: Reflecting on a Functional Full...
by true_religion on Monday March 05, 2018 @01:57PM
(#16523380)
Whoops, I must be confused. I thought Elm compiled to Javascript, and didn't implement a custom runtime.
Elm on the other hand inherits Javascript as its foundation, and the browser as its target. Javascript has an anemic standard library, and isn't a functional strongly typed language to begin with. Now since the browser is the target, file size is important, preventing Elm from simply shipping its own runtime + standard library.