[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Immutable rnrs hashtable
From: |
Ian Price |
Subject: |
Re: Immutable rnrs hashtable |
Date: |
Mon, 26 Nov 2012 10:28:39 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Sjoerd van Leent Privé <address@hidden> writes:
> Btw, isn't their a hashtable which is more pure in it's
> implementation? The RNRS and SRFI-69 versions are having quite some
> side-effects. I would have expected a method like "hashtable-add"
> which copies an existing hashtable, adds values and returns a new
> hashtable. I know, I prefer pure functional implementations...
You could look up vhashes in the manual. Alternatively, if your data
has an ordering you can use (pfds bbtrees) from my pfds collection[0]
0. https://github.com/ijp/pfds or guild install pfds
--
Ian Price -- shift-reset.com
"Programming is like pinball. The reward for doing it well is
the opportunity to do it again" - from "The Wizardy Compiled"