Next: , Previous: , Up: srfi ralists spec   [Index]


2.33.4.2 Representation conversion

Function: random-access-list->linear-access-list ra-list
Function: linear-access-list->random-access-list la-list

These procedures convert between (potentially) distinct representations of lists. To avoid confusion, parameters named ra-list range over lists represented with random–access lists, i.e. objects satisfying the list? predicate described above, while parameters named la-list range over lists represented with the more traditional linear–access lists, i.e. objects satisfying the list? predicate of R6RS. In systems that represent all lists as random–access lists, these conversions may simply be list identity procedures.