3 ms·
when I spoke with Evan (you can usually meet him at the Elm SF meetup) I believe he said Elm was inspired more by OCaml than Haskell. But since many people mig
by salimmadjd 10y ago
when I spoke with Evan (you can usually meet him at the Elm SF meetup) I believe he said Elm was inspired more by OCaml than Haskell.
But since many people might have heard of Haskell more than OCaml, Haskell is a better general answer.
- kinkdr 10y agoThe syntax is closer to Haskell than Ocaml. Foe example types in Ocaml usually start with lower letter. Also Elm has "Maybe", just like Haskell, instead of "option" of Ocaml. Also in Elm, like in Haskell you would write "List Sometype", while in Ocaml it is "sometype list".
- masklinn 10y agoYeah the syntax is clearly Haskell, the semantics are more ML-ish.