module Index: sig endith element of a list.
While it is sometimes necessary to perform these
operations on lists (hence their inclusion here), the
functions were moved to an inner module to prevent
their overuse: all functions work in O(n) time. You
might prefer to use Array or DynArray for constant
time indexed element access.
val index_of : 'a RefList.t -> 'a -> intval index : ('a -> bool) -> 'a RefList.t -> intval at_index : 'a RefList.t -> int -> 'a0 ; length-1val set : 'a RefList.t -> int -> 'a -> unit0 ; length-1val remove_at : 'a RefList.t -> int -> unit0 ; length-1