hw-prim-0.5.0.0: Primitive functions and data types
HaskellWorks.Data.TreeCursor
class TreeCursor k where Source #
Minimal complete definition
firstChild, nextSibling, parent, depth, subtreeSize
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 #