[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] functions for hash tables
From: |
Sven . Hartrumpf |
Subject: |
[Chicken-users] functions for hash tables |
Date: |
Wed, 26 Jan 2005 20:41:43 +0100 (CET) |
Hi all.
Here is a useful comparison of hash tables in different Scheme
implementations (great work, Shiro):
http://www.shiro.dreamhost.com/scheme/wiliki/schemexref.cgi?Concept%3aHashTable
After editing some API entries, I have the following comments for Chicken:
1.
hash-table-update! is missing (although important).
2.
hash-table-count should be better explained in comparison to hash-table-size.
3.
hash-table-ref is called hash-table-get in all other implementations.
Gauche has an additional optional argument that specifies what is returned if
key is not present - might be a good extension.
4.
hash-table-set! is called hash-table-put! in all other implementations.
5.
hash-table-for-each has the hash table as first argument in all other
implementations.
6.
hash-table->list should better be named hash-table->alist or hash-table->... ?
Greetings
Sven
pgphSqvRPPSe8.pgp
Description: PGP signature
- [Chicken-users] functions for hash tables,
Sven . Hartrumpf <=
- Re: [Chicken-users] functions for hash tables, Ed Watkeys, 2005/01/26
- Re: [Chicken-users] functions for hash tables, Larry White, 2005/01/26
- Re: [Chicken-users] functions for hash tables, Larry White, 2005/01/26
- Re: [Chicken-users] functions for hash tables, Ed Watkeys, 2005/01/26
- Re: [Chicken-users] functions for hash tables, Ed Watkeys, 2005/01/26
- Re: [Chicken-users] functions for hash tables, Sven . Hartrumpf, 2005/01/27
- Re: [Chicken-users] functions for hash tables, Alex Shinn, 2005/01/27
- Re: [Chicken-users] functions for hash tables, Ed Watkeys, 2005/01/27
- Re: [Chicken-users] functions for hash tables, Benedikt Rosenau, 2005/01/27
- Re: [Chicken-users] functions for hash tables, Alex Shinn, 2005/01/27