diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-05-01 11:40:09 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-05-01 11:40:09 -0700 |
commit | cb9b5f6e8ffbec96b5c22ab89bc6852f27dd29b8 (patch) | |
tree | 86a3ba7dda9ae267a6da0efbc872b01b60a57517 /tests/010/sort.tl | |
parent | 5f2d243892ed9affeba7a842e6d184046c9e8420 (diff) | |
download | txr-cb9b5f6e8ffbec96b5c22ab89bc6852f27dd29b8.tar.gz txr-cb9b5f6e8ffbec96b5c22ab89bc6852f27dd29b8.tar.bz2 txr-cb9b5f6e8ffbec96b5c22ab89bc6852f27dd29b8.zip |
hash: new function, hash-props.
We don't have a function in the hash table module which can
create a populated hash table in one step without requiring
the caller to create auxiliary lists. This new function fills
that gap, albeit with some limitations.
* hash.c (hash_props): New function.
(hash_init): Register hash-props intrinsic.
* tests/010/hash.tl: New tests.
* txr.1: Documented.
* stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'tests/010/sort.tl')
0 files changed, 0 insertions, 0 deletions