Our great sponsors
-
star
An experimental programming language that's made to be powerful, productive, and predictable (by ALANVF)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
My language Star has this (excluding full type inference, as method signatures require type annotations for stuff), both for structural types and variants (which I don't cover in my docs, but there's an example here. Extensible variants are also supported via nominal subtyping, and they also combine the properties of sum types with product types as they can have instance fields (along with other class behaviors)
Cubiml might be worth looking at as well.