5 ms·
The 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 "o
by kinkdr 10y ago
The 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.