4 ms·
It has algebraic data types, type inference, closures, pattern matching. Haskell has these too, but it has more stuff like more emphasis on immutability and pu
by iopq 11y ago
It has algebraic data types, type inference, closures, pattern matching.
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.