HORIZON HASKELLDocslts/ghc-10.0.xaa25b892026-10-10Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · aa25b89 · 2026-10-10

Moduleghc-internal-10.0.0Haskell2010

GHC.Internal.Data.Type.Bool

Basic operations on type-level Booleans.

    familytype family If (cond :: Bool) (tru :: k) (fls :: k) :: k where
    #

    Type-level If. If True a b ==> a; If False a b ==> b

    Equations