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