HaskellWorks.Data.TreeCursor
class TreeCursor k where Source #
Methods
firstChild :: k -> Maybe k Source #
nextSibling :: k -> Maybe k Source #
parent :: k -> Maybe k Source #
depth :: k -> Maybe Count Source #
subtreeSize :: k -> Maybe Count Source #