emacs-devel
[Top][All Lists]
Advanced

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

Re: Separating obarray handling from abbrevs


From: David Kastrup
Subject: Re: Separating obarray handling from abbrevs
Date: Wed, 11 Nov 2015 11:40:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Przemysław Wojnowski <address@hidden> writes:

> John Wiegley <address@hidden> writes:
>> I like it. I'm not a big fan of the name "obarray-foreach", since we're just
>> choosing a different name for "map", without much existing precedent for 
>> doing
>> so. I'd prefer "obarray-map".
> I was thinking about "map" suffix, but decided not to used it, because
> "map" functions return something meaningful and this one only nil. :-|

mapc returns nothing meaningful (the original sequence) as opposed to
mapcar.  You could return the original obarray.  I'm not sure that's
much more useful than nil, however.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]