Y
Hacker News
new
|
ask
|
show
|
jobs
by
bjz_
2341 days ago
Records of the same structure but different names are equivalent. In fact tuples are just sugar over records with numeric fields starting from 1. Note that this is not the same as in OCaml, afaik.
1 comments
jolux
2341 days ago
It depends. OCaml explicitly has polymorphic records as well.
link