- array-getter arrayprocedure
If array is an array built by
(make-array interval getter [setter])
(with or without the optional setter argument) array-getter returns getter. It is an error to call array-getter if array is not an array.
Example:
(define a (make-array (make-interval '#(1 1) '#(11 11)) (lambda (i j) (if (= i j) 1 0)))) (define a_ (array-getter a)) (a_ 3 3) => 1 (a_ 2 3) => 0 (a_ 11 0) => is an error