```sml signature MONO_VECTOR_SLICE ``` We propose two new functions for the `MONO_VECTOR` signature to track the changes to the `VectorSlice` structure. This page is part of proposal [[2015-003 | 2015-003 Additional operations on sequences]]. *** #### Synopsis ```sml val toList : slice -> elem list val toVector : slice -> vector ``` #### Description * `toList vec`
returns the list of the elements of the vector `vec`. Will raise the `Size` exception if the resulting vector would exceed `maxLen` elements. #### Discussion The `toVector` function is the same as the existing `vector` function, but it follows the `toType`/`fromType` naming convention. #### Rationale These additions track the changes to the `Vector` structure.