Subject: Re: Maphash into a new hashtable
From: rpw3@rpw3.org (Rob Warnock)
Date: Tue, 21 Jun 2005 19:42:19 -0500
Newsgroups: comp.lang.lisp
Message-ID: <wP-dnVq3WNJ2LiXfRVn-3w@speakeasy.net>
Andreas Thiele <nospam@nospam.com> wrote:
+---------------
| To be serious: I think he meant it's imperative - you can only use it by
| creating side effects respectively using assignments.
+---------------

Actually, while MAPHASH->HASH may use imperative features *internally*,
externally it's behaviour is fully functional [or at least as functional
as the function over which it's mapping], and therefore I would call it
"as functional as MAPCAR" and let it go at that.

Now if it *mutated* the existing input hash table's values...  ;-}
[But it doesn't.]


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607