>>>> "Hrvoje" == Hrvoje Niksic
<hniksic(a)arsdigita.com> writes:
Hrvoje> sperber(a)informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor])
writes:
> Reading back my own mail, I can see that I probably wasn't
explicit
> enough about the interface change. Sorry about that.
>
> I'm suggesting that there be higher-level interfaces to weak-list-like
> data structures.
>
> - "Simple" weak lists have weak-list-car and weak-list-cdr.
>
> - The various types of weak alists have higher-level functions to
> access them like:
>
> weak-list-add-association
> weak-list-assq
> weak-list-assoc
> weak-list-map
> weak-list-mapc
>
> ...
Hrvoje> Not to mention that things won't work with things like push, pushnew,
Hrvoje> mapcar*, and oodles of nice things that works with normal lists.
These kinds of things you don't really *want* to work with weak lists:
They're fundamentally different from ordinary lists. I'd even want to
remove WEAK-LIST-MAP. The ... was not meant to reflect that I'd want
more accessors. EMPTY-WEAK-LIST and WEAK-LIST->LIST would probably be
everything else that's required.
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla