:: Maybe a -> [a] package:vector
O(n) Convert a vector to a list.
O(n) Convert between 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.