HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

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, NavigatableTreeToTree, NavigatableTreeModify, …
typetype NTrees a = [NTree a]
#

shortcut for a sequence of n-ary trees