License | BSD-style (see the LICENSE file in the distribution) |
---|---|
Maintainer | libraries@haskell.org |
Stability | stable |
Portability | not portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Basic operations on type-level Booleans.
@since base-4.7.0.0
Documentation
type family If (cond :: Bool) (tru :: k) (fls :: k) :: k where ... Source #
Type-level If. If True a b
==> a
; If False a b
==> b