Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> SML, OCaml: algebraic data types, pattern matching, type inference, semicolon statement separation

> Haskell (GHC): typeclasses, type families

https://doc.rust-lang.org/reference/influences.html



Haskell has algebraic data types, pattern matching and type inference, too, and has had them since Haskell first appeared in 1990.

Although SML is older (1983), OCaml is younger than Haskell.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: