Is there any abstract container that permits the addition of new types of data? I know how to simulate the extension of Algebraic datatypes, but this does not permit the addition of data with new types in the same container and recover them in a type-safe way.
Did I reinvent the Weel? I found something, that permits this for any Typeable datatype. For example