3 ms·
OCaml was a really strong influence on Rust. The first Rust compiler was written in OCaml. Rust's traits are also similar to Haskell's typeclasses.
by FreeFull 9y ago
OCaml was a really strong influence on Rust. The first Rust compiler was written in OCaml. Rust's traits are also similar to Haskell's typeclasses.
- mmirate 9y agoRust also has discriminated unions, structural pattern matching and local type inference.