- gen-keys collectionprocedure
- gen-elts collectionprocedure
Returns a generator of the keys or of the elements of the collection. The keys of a list, vector, string or numeric vector are its indices 0 to n - 1. For a hash table, keys and elements follow the order of hash-table-keys.
> (generator->list (gen-keys "abc")) (0 1 2)