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

Modulebase-4.20.2.0Haskell2010

Data.Type.Bool

Basic operations on type-level Booleans.

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