Coproducts are extremely useful, as they may contain objects of entirely different types. Although the coproduct structure will serve as a single parent for such diverse objects, the proper parents of the elements are recorded internally and restored whenever the element is retrieved from the coproduct.
[Next] [Prev] [Right] [____] [Up] [Index] [Root]