HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulecursor-0.3.2.0Haskell2010

Cursor.Simple.Forest

Synopsis
  • Packagecursor-0.3.2.0
  • Exports90
  • LanguageHaskell2010
  • LicenceMIT
  • SourceForest.hs

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
datadata CTree a
#

Constructors

Instances9Functor, Foldable, Traversable, Eq, Show, Generic, …
datadata CForest a
#
Instances9Functor, Foldable, Traversable, Eq, Show, Generic, …