dph-lifted-vseg-0.7.0.1: Data Parallel Haskell lifted array combinators.
Data.Array.Parallel.Prelude.Bool
Synopsis
data Bool
Constructors
Instances
otherwise :: Bool
otherwise is defined as the value True. It helps to make guards more readable. eg.
otherwise
True
f x | x < 0 = ... | otherwise = ...
(&&) :: Bool -> Bool -> Bool
Boolean "and"
(||) :: Bool -> Bool -> Bool
Boolean "or"
not :: Bool -> Bool
Boolean "not"
andP :: PArr Bool -> BoolSource
orP :: PArr Bool -> BoolSource
fromBool :: Bool -> IntSource
toBool :: Int -> BoolSource