Strongly Typed Heterogeneous Collections (2004) [pdf]
okmij.org
okmij.org
the wiki describes it as "the cleanest solution, but very advanced and a little restrictive" which sounds kind of scary
the motivation given in the paper is for database programming... it seems like if this was a winning approach there would be popular db/orm libraries using this by now - are there any?
asking as a complete outsider, a Haskell-curious Python dev
To give a perhaps odious but relatable analogy, a form is a list of questions, but a filled form is not a list of answers - it is a record of answers to the questions in the form.