I’m wondering if there are any statically typed languages out there that natively support tables, like SQL does.
Consider this pseudocode for defining a Car struct:
type Car struct {
manufacturer string
model string
year int
}
Now, I’m looking for a table type like this:
type Cars table {
row Car
primary key [row.manufacturer, row.model, row.year]
... ⌘ [Read more](https://lobste.rs/s/mdaext/ask_are_there_languages_with_first_class)