Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module provides linear functions on the standard Bool
type.
The Boolean type
Instances
Bounded Bool | Since: base-2.1 |
Enum Bool | Since: base-2.1 |
Eq Bool | |
Ord Bool | |
Read Bool | Since: base-2.1 |
Show Bool | Since: base-2.1 |
Ix Bool | Since: base-2.1 |
Generic Bool | |
SingKind Bool | Since: base-4.9.0.0 |
Defined in GHC.Generics type DemoteRep Bool | |
Storable Bool | Since: base-2.1 |
Defined in Foreign.Storable | |
Hashable Bool | |
Defined in Data.Hashable.Class | |
Consumable Bool Source # | |
Defined in Data.Unrestricted.Internal.Instances | |
Dupable Bool Source # | |
Movable Bool Source # | |
Eq Bool Source # | |
Ord Bool Source # | |
Lift Bool | |
SingI 'False | Since: base-4.9.0.0 |
Defined in GHC.Generics | |
SingI 'True | Since: base-4.9.0.0 |
Defined in GHC.Generics | |
type Rep Bool | Since: base-4.6.0.0 |
data Sing (a :: Bool) | |
type DemoteRep Bool | |
Defined in GHC.Generics |
Operators
(&&) :: Bool %1 -> Bool %1 -> Bool infixr 3 Source #
True
iff both are True
.
NOTE: this is strict and not lazy!