| 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: | or |
| Type: | [Bool] -> Bool |
| Description: | returns the disjunction of a Boolean list, the result can be True only for finite lists |
| Related: | (&&), all, and, any, elem, not, notElem, (||) |
| Keywords: | boolean, list calculation, or |
Input: or [True,True,False,True]
Output: True
Input: or (take 10 (repeat False))
Output: False