3 ms·
MLs are fairly close I would think, Elm is syntactically very similar to Haskell but semantically it feels closer to SML or OCaml (without the O part)
by masklinn 10y ago
MLs are fairly close I would think, Elm is syntactically very similar to Haskell but semantically it feels closer to SML or OCaml (without the O part)
- weavie 10y agoYes. SML really deserves a lot more love.
- vog 10y agoThat was my first thought, too: Elm is quite similar to OCaml, so why not using OCaml in the backend? With all that server-side stuff around MirageOS, you can not only build a server app, but a full server VM within OCaml. On the other hand, OCaml also targets JavaScript coding in the browser, via js_of_ocaml or the newer bucklescript. I would be very interested in a comparison of client-side development with OCaml+js_of_ocaml (or OCaml+bucklescript) versus Elm.