More removal functionality for DsChain implementations
JulianDicken opened this issue · 1 comments
JulianDicken commented
remove_index removes chain at index
remove_value removes all matching values
remove_type removes all values of matching type
Hyomoto commented
The issue here is that DsChain doesn't actually have any add or remove functionality. Originally it had some support for adding links, but the problem was that anything that inherits this base type then inadvertently absorbs it. So, for example, how does remove_type function in context of a stack? There's probably a way forwards on this, but I think you probably want this added to DsLinkedList.