<Why are these types incompatible? Potential worka...
# forum
r
Why are these types incompatible? Potential workarounds? Hello, I am (attempting) to write a library that supports both mutable and immutable representations of genetic data. Obviously, the mutable representation of the data should adhere to the same interface as the immutable representation because it can perform all the same functionality as the immutable representation. This is where I start to run into some trouble. The data is represented in a tree structure. Any node that has children is an “Ancestor” while nodes that carry genetic...