:: Ord a => [a] -> f a package:rio

O(n) Convert a list to a vector
O(n) Convert different vector types
O(1) First element of a vector in a monad. See indexM for an explanation of why this is useful.
O(1) Last element of a vector in a monad. See indexM for an explanation of why this is useful.
O(1) First element in a monad without checking for empty vectors. See indexM for an explanation of why this is useful.
O(1) Last element in a monad without checking for empty vectors. See indexM for an explanation of why this is useful.