4 ms·
Nah, Scala does support higher-kinded types. :P Rust just isn't an especially functional language, though it may seem that way relative to C.
by kibwen 11y ago
Nah, Scala does support higher-kinded types. :P Rust just isn't an especially functional language, though it may seem that way relative to C.
- tatterdemalion 11y agoThe grandparent was probably referring to the fact that Rust allows mutation and side effects, which Scala also does. "Functional" is not a very meaningful term, but Rust has about equivalent support for higher kinded polymorphism as SML or OCaml (in that there is no first class support but another language feature can be used to implement it), which are certainly functional languages. And of course, many lisps are considered functional languages despite not having types at all.