| 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: | Ix |
|---|---|
| Function: | inRange |
| Type: | Ix a => (a,a) -> a -> Bool |
| Class: | Ix |
| Description: | returns True if a particular subscript lies in the range defined by a bounding pair. |
| Related: |
Input: inRange (1,5) 3
Output: True
Input: inRange (1,5) 12
Output: False
Input: inRange ((1,5),(10,12)) (7,8)
Output: True