emacs-devel
[Top][All Lists]
Advanced

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

Re: map.el and naming


From: Stefan Monnier
Subject: Re: map.el and naming
Date: Mon, 02 Mar 2015 00:31:58 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> Are there any reasons why we couldn't have map-keys that could accept
> any object where such an operation makes sense?

That's exactly what he's doing.

> IOW, why do we have to use different functions for different classes
> of objects, instead of having a single polymorphic interface?

He's not suggesting different functions for different objects, but
different function for different operations (e.g. either apply
a function to each key in the map, or apply a function to each
key+value in the map).


        Stefan



reply via email to

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