News for hackers. Stuff that matters.
Re:TypeScript 5.0 by cmrdporcupine on Thursday March 16, 2023 @08:17PM (#35190885)
You just described OCaml or StandardML.

Or as others have said, F#, or maybe Scala. Or if you're feeling really brainy, Haskell.

But Rust was, in its early days, basically inspired by the ML type system, its type inference model, and its pattern matching facilities. The first Rust compiler was written in OCaml.

Re:TypeScript 5.0 by spion on Thursday March 16, 2023 @10:18PM (#35192065)
Haskell doesn't (or didn't last time I tried it) have the documentation and example culture of Rust.