HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

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