key-sequence

Name

key-sequence -- Returns a sequence of table keys

Type: generic

Synopsis

key-sequence( table, list);

Arguments

table

An instance of <table>

Return Values

list

An instance of <list>

Description

This function extracts the set of keys from a <table> in the form of a sequence. The length of the returned list is exactly the size of the table as reported by table-size.

The order of returned keys in the list is not specified, except to say that it is the same order as the values returned by value-sequence.