Legend:
Library
Module
Module type
Parameter
Class
Class type
Functions that operate on the ith 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.