HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

Modulefcf-containers-0.8.2Haskell2010

Fcf.Data.Bitree

Fcf.Data.Bitree

Binary trees

  • 10 types
Example2 expressions
import qualified GHC.TypeLits as TLimport           Fcf.Data.Nat
datadata Tree a
#

Binary tree type.

Constructors

Instances1Show
  • Show a => Show (Tree a)Defined in fcf-containers-0.8.2 · Fcf.Data.Bitree
datadata GetRoot (b :: Tree a) (c :: a)
#

Get the root node from a Tree.

Instances2Eval
  • type Eval (GetRoot ('Leaf a2)) = a2Defined in fcf-containers-0.8.2 · Fcf.Data.Bitree
  • type Eval (GetRoot ('Node _1 a2 _2)) = a2Defined in fcf-containers-0.8.2 · Fcf.Data.Bitree