accum
(5,5)
123
accumArray
[10,13,15,10]
(2,1)
0
accum laziness
1
2
associations
(-2,1)
[-2,-1,0,1]
[10,20,31,40]
[(-2,10),(-1,20),(0,31),(1,40)]
31
bounds
(3,5)
3
[3,4,5]
(-2,1)
4
[-2,-1,0,1]
(2,1)
0
[]
[]
instances
array (2,4) [(2,1),(3,2),(4,3)]
True
True
False
True
True
(2,4)
[11,12,13]
6
[1,2,3]
Just (array (2,4) [(2,2),(3,3),(4,4)])
ixmap
((0,0),(1,1))
[((0,0),10),((0,1),20),((1,0),30),((1,1),40)]
(2,1)
0
ixmap laziness
10
listArray
(-1,1)
3
4
5
[10,20]
[0,1,2,3,4,5,6,7,8,9,10]
[]
recursive
[1,2,3,4]
4
tuple index
((1,-1),(2,1))
[(1,-1),(1,0),(1,1),(2,-1),(2,0),(2,1)]
[10,11,12,13,14,15]
12
13
[((1,-1),10),((1,0),11),((1,1),12),((2,-1),13),((2,0),14),((2,1),15)]
update
(2,4)
[11,31,30]
[10,20,30]
[1,20,3,4]
(2,1)
update laziness
3
