3 ms·
The Rust docs claim most things actually came from ML and OCaml: https://doc.rust-lang.org/reference/influences.html https://doc.rust-lang.org/reference/influen
by brabel 6y ago
The Rust docs claim most things actually came from ML and OCaml: https://doc.rust-lang.org/reference/influences.html https://doc.rust-lang.org/reference/influences.html
They only mention Haskell's type classes and type families as inspiring a Rust feature directly (traits).
- yen223 6y agoThe original rust compiler was written in ocaml
- lostcolony 6y agoIt's kind of alluded to, but, while FP languages, as a broad category, were the progenitor of a lot of different PL ideas, Haskell ended up implementing many of them in a single place. It's fair to say "we were influenced by (this other language that originated an idea)", but it's also fair "and Haskell also has that feature". Do it enough times, and you start to see why the claim that Haskell is important; being a research language it's able to have all of these ideas implemented in it in pursuit of its design goals, where other FP languages pick and choose in pursuit of a different one.
- tutfbhuf 6y agoI think it would be best to create a spin off of Haskell. A small subset with only the good parts of Haskell, few hand selected extensions, new prelude, with focus on performance, very easy tooling/build chain and use in production for businesses: "Production Haskell Lite".