HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

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

Synopsis
Example2 expressions
import qualified GHC.TypeLits as TLimport           Fcf.Data.Nat
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