HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Modulebase-4.22.0.0Haskell2010

Data.Type.Bool

Basic operations on type-level Booleans.

    • Packagebase-4.22.0.0
    • Exports4
    • LanguageHaskell2010
    • LicenceBSD-3-Clause
    • SourceBool.hs
    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