On 14.11.14 10:07 , Chetan Mehrotra wrote:
>Instead I suggest to export a generic mechanism for obtaining (immutable) Tree
instances given a node state.
Any details on how that should be done. I just need to convert a
NodeState to a Tree also support access to parent tree.
I was thinking of introducing some sort of a factory for Tree instances
and export that API. That way we wouldn't have to come up with our one
tree implementations in all places where we need it but still leave the
underlying Tree implementation unspecified thus enabling them to evolve.
Michael