(define-datatype reference reference? (a-ref (position integer?) (vec vector?)))
How would one implement references using the ribcage representation of environments in the Scheme code for the interpreter?