Previous: , Up: SRFI-43   [Contents][Index]


7.5.30.7 SRFI-43 Conversion

Scheme Procedure: vector->list vec [start [end]]

Return a newly allocated list containing the elements in vec between start and end. start defaults to 0 and end defaults to the length of vec.

Scheme Procedure: reverse-vector->list vec [start [end]]

Like vector->list, but the resulting list contains the specified range of elements of vec in reverse order.

Scheme Procedure: list->vector proper-list [start [end]]

Return a newly allocated vector of the elements from proper-list with indices between start and end. start defaults to 0 and end defaults to the length of proper-list. Note that SRFI 43 does not document the start and end arguments, but both its reference implementation and Guile’s implementation support them.

Scheme Procedure: reverse-list->vector proper-list [start [end]]

Like list->vector, but the resulting vector contains the specified range of elements of proper-list in reverse order. Note that SRFI 43 does not document the start and end arguments, but both its reference implementation and Guile’s implementation support them.