Is there a language with structural type constraints for variants and records?

This page summarizes the projects mentioned and recommended in the original post on /r/ProgrammingLanguages

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • star

    An experimental programming language that's made to be powerful, productive, and predictable (by ALANVF)

  • 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-demo

    A simple ML-like programming language with subtyping and full type inference.

  • Cubiml might be worth looking at as well.

  • 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.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts