2 ms·
> I was delighted to see Sum-Product types in Rust when I played with it. They go a long way to cleanly model the problem domain. Umm yeah, they've been a part
by lmm 9y ago
> I was delighted to see Sum-Product types in Rust when I played with it. They go a long way to cleanly model the problem domain.
Umm yeah, they've been a part of every ML-family language since the '70s, OCaml, Haskell and Rust included.
- tome 9y ago(FullyFunctional seems to understand this, as far as I can tell)
- FullyFunctional 9y agoI do, but I wasn't aware that Rust was considered in the ML family (ML as Meta Language, like SML/NJ). I'm somewhat skeptical of that. What I see from Rust is a lot of the really great things from functional languages (esp. strong typing) and beyond, but applying them to a language aiming as low as C. That's certainly interesting.