2 ms·
It really depends on what you think are the features of Haskell that typify its "family". If you think it's typified by things like type inference, sum types, a
by sanderjd 11y ago
It really depends on what you think are the features of Haskell that typify its "family". If you think it's typified by things like type inference, sum types, and typeclasses, then Rust will feel very Haskell-y, but if you think it's typified by higher kinded types, laziness, and functional purity, then it won't feel very Haskell-y at all.
Personally, I think Haskell and C++ are the two biggest influences I feel when using Rust: it has a lot of Haskell's philosophy around data types and polymorphism, and a lot of C++'s philosophy around the life cycle of resources, and the cost of abstractions.
- AnimalMuppet 11y agoI think the life cycle of resources issue was a big reason why I was surprised to hear people say that Rust was Haskell-like.