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] |
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 would. I've gotten used to having to code this functionality for myself in perl. I use it a lot. BTW, about dictionaries being ordered representations - what would be needed so that the car of every entry in a dictionary/hash be linked into a companion ordered-dictionary interface that kept its items ordered for iterative procedures, or whatever people want that for? Is there a lot of overhead to maintain 2 links to the car of a list? -- Peter C. Norton Time comes into it. / Say it. Say it. spacey@pobox.com | The Universe is made of stories, http://spacey.dyn.ml.org | not of atoms. | Muriel Rukeyser "The Speed of Darknesss"