[alexandria-devel] Re: [PATCH] COPY-HASH-TABLE
Tobias C. Rittweiler
tcr at freebits.de
Mon Mar 10 16:41:45 UTC 2008
Michael Weber <michaelw+alexandria at foldr.org> writes:
> I'd really rather see :key there instead of :copy-fn.
> Reason: it's in line with other CL functions, and it can be used that
> way, e.g.:
> (copy-hash-table *table* :key #'accessor)
>
> That there is copying involved is rather secondary.
>
> Also, I find :copy-fn ugly in comparison to :key, but YMMV.
I personally do not care much. Attached is a patch that calls it :KEY.
-T.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alexandria-hash-tables.lisp.v3.diff
Type: text/x-diff
Size: 2731 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/alexandria-devel/attachments/20080310/1f194899/attachment.diff>
More information about the alexandria-devel
mailing list