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
Operator: (!)
Type: Ix a => Array a b -> a -> b
Priority: 9
Description:
Related:

Example 1

Input: array (1,3) [(1,1),(2,5),(3,6)] ! 2

Output: 5

Example 2

Input: array (1,10) (zip [1..10] [5,9..100]) ! 4

Output: 17