[r6rs-discuss] immutable hash tables and eqv?

From: Alexander Kjeldaas <alexander.kjeldaas>
Date: Thu, 24 May 2007 18:50:59 +0200

On 5/24/07, Anton van Straaten <anton at appsolutions.com> wrote:
>
> Alexander Kjeldaas wrote:
> > I couldn't find a way to create an immutable hash table.
>
> The hashtable-copy procedure creates immutable hash tables by default.



Very good! So I see that it is possible to create immutable strings and
hashtables (for strings it seems that you have to convert to a symbol and
back though). Is it possible to do this for the other structures mentioned
as well: pairs, vectors, bytevectors and ports? I would like to understand
if you can easily build general data structures that are immutable and eqv?
even if they are in different locations in the store.

Alexander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.r6rs.org/pipermail/r6rs-discuss/attachments/20070524/f53a387e/attachment.htm
Received on Thu May 24 2007 - 12:50:59 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC