by iopq · 11y ago · 0 comments
It's not a bad thing, but Rust has very little in common with Haskell/Ocaml; aside from stealing a couple of good ideas.
There is, maybe, grounds to say that all languages with S-expressions, first class functions and garbage collection are just a type of lisp.
But I would not say that all languages with strong static typing, some form of type inference, algebraic data types, patterns matching and functional programming features, are a dialect or OCaml, or ML.
Haskell has these too, but it has more stuff like more emphasis on immutability and purity unlike Rust and OCaml.
Also, the first Rust compiler was written in OCaml.