Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
forestCursorDeleteElem :: (b -> a) -> ForestCursor a b -> DeleteOrUpdate (ForestCursor a b)cursor Cursor.Forest No documentation available.
-
cursor Cursor.Forest No documentation available.
forestCursorDeleteSubTree :: (b -> a) -> ForestCursor a b -> DeleteOrUpdate (ForestCursor a b)cursor Cursor.Forest No documentation available.
-
cursor Cursor.Forest No documentation available.
forestCursorDemoteElem :: (a -> b) -> (b -> a) -> ForestCursor a b -> Maybe (ForestCursor a b)cursor Cursor.Forest Demotes the current node to the level of its children. Example: Before:
- a |- b - c <-- |- d - e
After:- a |- b |- c <-- |- d - e
forestCursorDemoteElemUnder :: b -> b -> ForestCursor a b -> ForestCursor a bcursor Cursor.Forest Demotes the current node to the level of its children, by adding two roots. One for the current node and one for its children that are left behind. Example: Before:
- a <-- |- b
After:- <given element 1> |- a <-- - <given element 2> |- b
forestCursorDemoteSubTree :: (a -> b) -> (b -> a) -> ForestCursor a b -> Maybe (ForestCursor a b)cursor Cursor.Forest Demotes the current subtree to the level of its children. Example: Before:
- a |- b - c <-- |- d
After:- a |- b |- c <-- |- d
forestCursorDemoteSubTreeUnder :: b -> ForestCursor a b -> ForestCursor a bcursor Cursor.Forest Demotes the current subtree to the level of its children, by adding a root. Example: Before:
a <-- |- b
After:<given element> |- a <-- |- b
forestCursorInsert :: b -> ForestCursor a b -> ForestCursor a bcursor Cursor.Forest No documentation available.
forestCursorInsertAndSelect :: (a -> b) -> (b -> a) -> b -> ForestCursor a b -> ForestCursor a bcursor Cursor.Forest No documentation available.