ZVON > References > Haskell reference |
Intro / Search / ZVON |
| Indexes | Syntax | >> Prelude << | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random |
Module: | Prelude |
---|---|
Function: | and |
Type: | [Bool] -> Bool |
Description: | returns the conjunction of a Boolean list, the result can be True only for finite lists |
Related: | (&&), all, any, elem, not, notElem, or, (||) |
Keywords: | boolean, list calculation |
Input: and [True,True,False,True]
Output: False
Input: and (take 10 (repeat True))
Output: True