chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] functions for hash tables


From: Andreas Rottmann
Subject: Re: [Chicken-users] functions for hash tables
Date: Wed, 26 Jan 2005 21:30:21 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

address@hidden writes:

> 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.
>
I think using -ref and -set! is more in line with the procedure names
used in R5RS (e.g. vector/string-ref/set!, list-ref).

Rotty
-- 
Andreas Rottmann         | address@hidden      | address@hidden | address@hidden
http://yi.org/rotty      | GnuPG Key: http://yi.org/rotty/gpg.asc
Fingerprint              | DFB4 4EB4 78A4 5EEE 6219  F228 F92F CFC5 01FD 5B62

Any technology not indistinguishable from magic is insufficiently advanced.
   -- Terry Pratchett




reply via email to

[Prev in Thread] Current Thread [Next in Thread]