hw-prim-0.6.2.20: Primitive functions and data types
HaskellWorks.Data.TreeCursor
Description
Tree Cursor
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 #