This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Scheme style auto-resizing hashtable (fwd)


On Tue, Nov 03, 1998 at 12:23:22PM -0500, Peter C. Norton wrote:
> On Tue, Nov 03, 1998 at 12:15:27PM +1100, Tel wrote:
> > Just a very fanciful suggestion: Is it possible to combine
> > ``dictionary-insert-alist!'' and ``dictionary-insert-dictionary!''
> > into ``dictionary-insert!'' such that (dictionary-inset! D fred)
> > will look at the type of fred and modify it's behaviour accordingly?

> > Am I getting carried away here? Is someone likely to want a dictionary
> > of dictionaries?

I've done things like Hashes of arrays of hashes in Perl before.  You
could probably do it in python as well - it might be a tad ugly in
Tcl.

It does have its uses...
-- 
David Welton                          http://www.efn.org/~davidw 

	Debian GNU/Linux - www.debian.org