HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulehxt-9.3.1.22Haskell2010

Data.Tree.NTree.TypeDefs

Interface definition for trees

n-ary tree structure (rose trees)

  • 2 types
  • Packagehxt-9.3.1.22
  • Exports2
  • LanguageHaskell2010
  • LicenceMIT
  • SourceTypeDefs.hs
datadata NTree a
#

n-ary ordered tree (rose trees)

a tree consists of a node and a possible empty list of children. If the list of children is empty, the node is a leaf, else it's an inner node.

NTree implements Eq, Ord, Show and Read

Constructors

Instances13Functor, Foldable, Traversable, Tree, NavigatableTreeModify, NavigatableTreeToTree, …
typetype NTrees a = [NTree a]
#

shortcut for a sequence of n-ary trees