HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

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