ZVON > References > Haskell reference
| Indexes | Syntax | >> Prelude << | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random

Module: Prelude
Datatype: Bool
Description: The boolean type Bool is an enumeration. The basic boolean functions are (&&) (and), (||) (or), and not. The name is defined as True to make guarded expressions more readable.
Definition:
data  Bool  =  False | True deriving 
                             (Read, Show, Eq, Ord, Enum, Bounded)
In function types: Bool : otherwise
Bool -> Bool : not
Bool -> ShowS -> ShowS : showParen
Bool -> ReadS a -> ReadS a : readParen
a -> Bool : even, isDenormalized, isIEEE, isInfinite, isNaN, isNegativeZero, odd
Bool -> Bool -> Bool : (&&), (||)
a -> a -> Bool : (/=), (<), (<=), (==), (>), (>=)
[a] -> Bool : null
(a -> Bool) -> [a] -> [a] : dropWhile, filter, takeWhile
(a -> Bool) -> [a] -> ([a],[a]) : break
(a -> Bool) -> [a] -> Bool : all, any
[Bool] -> Bool : and, or
a -> [a] -> Bool : elem, notElem
(a -> Bool) -> (a -> a) -> a -> a : until