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

Re: Responses to your comments

This page is part of the web mail archives of SRFI 69 from before July 7th, 2015. The new archives for SRFI 69 contain all messages, not just those from before July 7th, 2015.



On Thu, Aug 04, 2005 at 04:22:02PM +0200, Sven.Hartrumpf@xxxxxxxxxxxxxxxx wrote:
> >       ht->vector and vector->ht are
> > 	IMNSHO totally useless and will not be added unless somebody
> > 	provides a convincing argument for them.
> No arguments, but maybe we can allow a little more flexibility
> (in the list world) by adding an optional argument 'acons' to
> hash-table->alist.

I think these are too marginal needs to support directly.  When there is
need for converting between different alist types, a simple map will do.

If we take the path of generality, why not support plists too, so that
we need to parameterise with "function for getting/making next cell".  I
don't think this kind of generality will pay off.  I'd rather define
these routines to account for the most common situation(s) and be done
with it.

Panu

-- 
personal contact: atehwa@xxxxxx, +35841 5323835, +3589 85619369
work contact: pkalliok@xxxxxxxxxxxxxxxx, +35850 3678003
kotisivu (henkkoht):	http://www.iki.fi/atehwa/
homepage (technical):	http://sange.fi/~atehwa/