| License | BSD-style (see the LICENSE file in the distribution) |
|---|---|
| Maintainer | [email protected] |
| Stability | stable |
| Portability | not portable |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Basic operations on type-level Booleans.
Since: base-4.7.0.0
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
type family (a :: Bool) && (b :: Bool) :: Bool where ... infixr 3 Source
Type-level "and"
type family (a :: Bool) || (b :: Bool) :: Bool where ... infixr 2 Source
Type-level "or"
type family Not (a :: Bool) = (res :: Bool) | res -> a where ... Source
Type-level "not". An injective type family since 4.10.0.0.
Since: base-4.7.0.0
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/9.12.1/docs/libraries/base-4.21.0.0-8e62/Data-Type-Bool.html