HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleghc-internal-9.1003.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