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

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

Modulebase-4.23.0.0Haskell2010

Data.Type.Bool

Basic operations on type-level Booleans.

    • Packagebase-4.23.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