The path of a RoseTree.Tree node is represented as a List Int.
This module provides functions for path manipulation.
Obtain the parent path.
parent [ 1, 2, 3 ] == [ 1, 2 ]Find a common ancestor path for a list of paths.
parent [ [ 0, 1, 0, 1 ], [ 0, 1, 1, 0 ], [ 0, 1, 2, 3 ] ] == [ 0, 1 ]
Increment last element of the path.