On Friday, 21 March 2014 at 09:56:49 UTC, Chris wrote: > Btw, I was initially inspired by Objective-C's NSSet that can > hold arbitrary objects. That's because Objective-C's objects are references. It would be equivalent to Adam Ruppe's suggestion of using classes/interfaces.