Re:Why Reliability Demands Functional Programming
by cubefox on Sunday December 28, 2025 @11:59AM
(#46412446)
I think the real promise of "set-theoretic type systems" comes when don't just have (untagged) unions, but also intersections (Foo & Bar) and complements/negations (!Foo). Currently there is no such language with negations, but once you have them, the type system is "functionally complete", and you can represent arbitrary Boolen combination of types. E.g. "Foo | (Bar & !Baz)". Which sounds pretty powerful, although the practical use is not yet quite clear.
[ Parent
| on HN ]
There are no comments on this comment yet.