let of_index i = Dynarray.get index i