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

Module: Array
Function: bounds
Type: Ix a => Array a b -> (a,a)
Description: The bounds function applied to an array returns its bounds.
Related: assocs, elems, indices

Example 1

Input: bounds (array (0,3) [(1,"A"),(2,"B"),(3,"D"),(0,"QQQ")])

Output: (0,3)